diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2024-01-31 06:11:00 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2024-01-31 20:45:40 +0300 |
commit | c0dc531ebefd8912819f3b6c8bda1fed3c7e750c (patch) | |
tree | 2c75aa9df182260aef09faf4befd81a4c2b9c5e2 /engine/exceptions | |
parent | 48d688cdf7f9eae1bf11b8a6f0e5b98687c604cb (diff) |
make it simple, but not simpler
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 |