1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

feat: adjust formatting

This commit is contained in:
Christy Jacob 2022-02-07 01:37:11 +04:00
parent 42e424b70a
commit a5b706f64b
2 changed files with 49 additions and 55 deletions

View file

@ -23,11 +23,6 @@ return [
'description' => 'The current user or API key does not have the required scopes to access the requested resource.',
'code' => 401,
],
Exception::STORAGE_ERROR => [
'name' => Exception::STORAGE_ERROR,
'description' => 'Storage error',
'code' => 500,
],
Exception::GENERAL_RATE_LIMIT_EXCEEDED => [
'name' => Exception::GENERAL_RATE_LIMIT_EXCEEDED,
'description' => 'Rate limit for the current endpoint has been exceeded. Please try again after some time.',

View file

@ -69,7 +69,6 @@ class Exception extends \Exception
const AVATAR_ICON_NOT_FOUND = 'avatar_icon_not_found';
/** Storage */
const STORAGE_ERROR = 'storage_error';
const STORAGE_FILE_NOT_FOUND = 'storage_file_not_found';
const STORAGE_DEVICE_NOT_FOUND = 'storage_device_not_found';
const STORAGE_FILE_EMPTY = 'storage_file_empty';