1
0
Fork 0
mirror of synced 2024-10-02 02:07:04 +13:00

feat: add more desctiptions

This commit is contained in:
Christy Jacob 2022-01-30 03:13:55 +04:00
parent 6a0b3c328b
commit aedded86de

View file

@ -29,8 +29,8 @@ return [
], ],
Exception::TYPE_UNAUTHORIZED_SCOPE => [ Exception::TYPE_UNAUTHORIZED_SCOPE => [
'name' => Exception::TYPE_UNAUTHORIZED_SCOPE, 'name' => Exception::TYPE_UNAUTHORIZED_SCOPE,
'description' => 'Unauthorized scope', 'description' => 'The current user is not authorized to access the requested resource.',
'statusCode' => 403, 'statusCode' => 401,
], ],
Exception::TYPE_PASSWORD_RESET_REQUIRED => [ Exception::TYPE_PASSWORD_RESET_REQUIRED => [
'name' => Exception::TYPE_PASSWORD_RESET_REQUIRED, 'name' => Exception::TYPE_PASSWORD_RESET_REQUIRED,