diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-08-14 14:37:56 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-08-14 14:37:56 +0200 |
commit | c135fcf9041c604b32827a1cb027010bca5915ab (patch) | |
tree | 95a2331d5f0bc4a736aa0e716330c39b3fa1ea26 /src/Errors/UnknownError.php | |
parent | 3f4b51b99a4f4dc41dbdce7f34afe7e15d3d426e (diff) |
POST login possible
Diffstat (limited to 'src/Errors/UnknownError.php')
-rw-r--r-- | src/Errors/UnknownError.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Errors/UnknownError.php b/src/Errors/UnknownError.php new file mode 100644 index 0000000..f861597 --- /dev/null +++ b/src/Errors/UnknownError.php @@ -0,0 +1,16 @@ +<?php + +namespace App\Errors; + +class UnknownError extends Exception +{ + public function __construct(string $message, int $httpCode) + { + parent::__construct(ErrorCode::UNKNOWN, $message, $httpCode); + } + + public function getAdditionalData(): array + { + return []; + } +} |