diff --git a/System/Exception/AuthException.php b/System/Exception/AuthException.php index adefeaf7..f855ee1b 100644 --- a/System/Exception/AuthException.php +++ b/System/Exception/AuthException.php @@ -4,7 +4,14 @@ namespace Snowflake\Exception; +use Throwable; + class AuthException extends \Exception { + public function __construct($message = "", $code = 0, Throwable $previous = null) + { + parent::__construct($message, 401, $previous); + } + }