Remove redundant exception
This commit is contained in:
parent
24875e352d
commit
c1c3a7c7ae
2 changed files with 0 additions and 6 deletions
|
@ -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.',
|
'description' => 'The request cannot be fulfilled with the current protocol. Please check the value of the _APP_OPTIONS_FORCE_HTTPS environment variable.',
|
||||||
'code' => 500,
|
'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 */
|
/** User Errors */
|
||||||
Exception::USER_COUNT_EXCEEDED => [
|
Exception::USER_COUNT_EXCEEDED => [
|
||||||
|
|
|
@ -50,7 +50,6 @@ class Exception extends \Exception
|
||||||
public const GENERAL_CURSOR_NOT_FOUND = 'general_cursor_not_found';
|
public const GENERAL_CURSOR_NOT_FOUND = 'general_cursor_not_found';
|
||||||
public const GENERAL_SERVER_ERROR = 'general_server_error';
|
public const GENERAL_SERVER_ERROR = 'general_server_error';
|
||||||
public const GENERAL_PROTOCOL_UNSUPPORTED = 'general_protocol_unsupported';
|
public const GENERAL_PROTOCOL_UNSUPPORTED = 'general_protocol_unsupported';
|
||||||
public const GENERAL_PERMISSION_INVALID = 'general_permission_invalid';
|
|
||||||
|
|
||||||
/** Users */
|
/** Users */
|
||||||
public const USER_COUNT_EXCEEDED = 'user_count_exceeded';
|
public const USER_COUNT_EXCEEDED = 'user_count_exceeded';
|
||||||
|
|
Loading…
Reference in a new issue