1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

feat: improve description

This commit is contained in:
Christy Jacob 2022-01-30 03:08:56 +04:00
parent df55cf4e39
commit 8264a8fcd1

View file

@ -9,13 +9,13 @@ use Appwrite\Extend\Exception;
return [
Exception::TYPE_PROJECT_NOT_FOUND => [
'name' => Exception::TYPE_PROJECT_NOT_FOUND,
'description' => 'The requested project could not be found. Please check the value of the `X-Appwrite-Project` header to ensure the correct project ID is being used.',
'description' => 'The requested project could not be found. Please check the value of the X-Appwrite-Project header to ensure the correct project ID is being used.',
'statusCode' => 404,
],
Exception::TYPE_PROJECT_UNKNOWN => [
'name' => Exception::TYPE_PROJECT_UNKNOWN,
'description' => 'Project unknown',
'statusCode' => 500,
'description' => 'The project ID is either missing or not valid. Please check the value of the X-Appwrite-Project header to ensure the correct project ID is being used.',
'statusCode' => 400,
],
Exception::TYPE_INVALID_ORIGIN => [
'name' => Exception::TYPE_INVALID_ORIGIN,