namespace BookStack\Exceptions;
-use Exception;
-
-class ApiAuthException extends Exception
+class ApiAuthException extends UnauthorizedException
{
-
- /**
- * ApiAuthException constructor.
- */
- public function __construct($message, $code = 401)
- {
- parent::__construct($message, $code);
- }
-}
\ No newline at end of file
+}