Skip to content

Commit 8d87fbc

Browse files
committed
chore: improve route not found error message
1 parent 65c708b commit 8d87fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mock-server/src/Utopia/Exception.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
],
7070
Exception::GENERAL_ROUTE_NOT_FOUND => [
7171
'name' => Exception::GENERAL_ROUTE_NOT_FOUND,
72-
'description' => 'The requested route was not found. Please refer to the API docs and try again.',
72+
'description' => 'Route not found. Please ensure the endpoint is configured correctly and that the API route is valid for this SDK version. Refer to the API docs for more details.',
7373
'code' => 404,
7474
],
7575
Exception::GENERAL_CURSOR_NOT_FOUND => [

0 commit comments

Comments
 (0)