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

feat: update descriptions of temas errors

This commit is contained in:
Christy Jacob 2022-02-08 02:48:05 +04:00
parent 97c7513faa
commit 35cd17290e

View file

@ -164,7 +164,7 @@ return [
],
Exception::OAUTH_MISSING_USER_ID => [
'name' => Exception::OAUTH_MISSING_USER_ID,
'description' => 'Failed to obtain user id from the OAuth provider.',
'description' => 'Failed to obtain user ID from the OAuth provider.',
'code' => 400,
],
@ -176,13 +176,13 @@ return [
],
Exception::TEAM_INVITE_ALREADY_EXISTS => [
'name' => Exception::TEAM_INVITE_ALREADY_EXISTS,
'description' => 'The current user already has an invitation to this team.',
'description' => 'The current user has already received an invitation to join the team.',
'code' => 409,
],
Exception::TEAM_INVITE_NOT_FOUND => [
'name' => Exception::TEAM_INVITE_NOT_FOUND,
'description' => 'The requested invitation could not be found.',
'code' => 409,
'description' => 'The requested team invitation could not be found.',
'code' => 404,
],
Exception::TEAM_INVALID_SECRET => [
'name' => Exception::TEAM_INVALID_SECRET,