1
0
Fork 0
mirror of synced 2024-07-01 20:50:49 +12:00

Remove redundant exception

This commit is contained in:
Jake Barnby 2022-08-19 20:31:19 +12:00
parent 24875e352d
commit c1c3a7c7ae
2 changed files with 0 additions and 6 deletions

View file

@ -88,11 +88,6 @@ return [
'description' => 'The request cannot be fulfilled with the current protocol. Please check the value of the _APP_OPTIONS_FORCE_HTTPS environment variable.',
'code' => 500,
],
Exception::GENERAL_PERMISSION_INVALID => [
'name' => Exception::GENERAL_PERMISSION_INVALID,
'description' => 'The provided permissions are invalid for this resource type. Documents and files cannot contain a `create` permission.',
'code' => 400,
],
/** User Errors */
Exception::USER_COUNT_EXCEEDED => [

View file

@ -50,7 +50,6 @@ class Exception extends \Exception
public const GENERAL_CURSOR_NOT_FOUND = 'general_cursor_not_found';
public const GENERAL_SERVER_ERROR = 'general_server_error';
public const GENERAL_PROTOCOL_UNSUPPORTED = 'general_protocol_unsupported';
public const GENERAL_PERMISSION_INVALID = 'general_permission_invalid';
/** Users */
public const USER_COUNT_EXCEEDED = 'user_count_exceeded';