diff options
Diffstat (limited to 'engine/exceptions')
-rw-r--r-- | engine/exceptions/ForbiddenException.php | 9 | ||||
-rw-r--r-- | engine/exceptions/NotFoundException.php | 9 | ||||
-rw-r--r-- | engine/exceptions/NotImplementedException.php | 9 | ||||
-rw-r--r-- | engine/exceptions/UnauthorizedException.php | 9 |
4 files changed, 0 insertions, 36 deletions
diff --git a/engine/exceptions/ForbiddenException.php b/engine/exceptions/ForbiddenException.php deleted file mode 100644 index 4184908..0000000 --- a/engine/exceptions/ForbiddenException.php +++ /dev/null @@ -1,9 +0,0 @@ -<?php - -class ForbiddenException extends BadMethodCallException { - - public function __construct(string $message = '') { - parent::__construct($message, 403); - } - -}
\ No newline at end of file diff --git a/engine/exceptions/NotFoundException.php b/engine/exceptions/NotFoundException.php deleted file mode 100644 index 211106f..0000000 --- a/engine/exceptions/NotFoundException.php +++ /dev/null @@ -1,9 +0,0 @@ -<?php - -class NotFoundException extends BadMethodCallException { - - public function __construct(string $message = '') { - parent::__construct($message, 404); - } - -}
\ No newline at end of file diff --git a/engine/exceptions/NotImplementedException.php b/engine/exceptions/NotImplementedException.php deleted file mode 100644 index 1c4562a..0000000 --- a/engine/exceptions/NotImplementedException.php +++ /dev/null @@ -1,9 +0,0 @@ -<?php - -class NotImplementedException extends BadMethodCallException { - - public function __construct(string $message = '') { - parent::__construct($message, 501); - } - -}
\ No newline at end of file diff --git a/engine/exceptions/UnauthorizedException.php b/engine/exceptions/UnauthorizedException.php deleted file mode 100644 index 84a1251..0000000 --- a/engine/exceptions/UnauthorizedException.php +++ /dev/null @@ -1,9 +0,0 @@ -<?php - -class UnauthorizedException extends BadMethodCallException { - - public function __construct(string $message = '') { - parent::__construct($message, 401); - } - -}
\ No newline at end of file |