]> BookStack Code Mirror - bookstack/blobdiff - app/Exceptions/ApiAuthException.php
Updated styles to use logical properties/values
[bookstack] / app / Exceptions / ApiAuthException.php
index 0851dfa4afdf8265d9ad69c962ff3d3d2701a1cb..cc68ba8cf424c31c4f741e11aea34f9f50177a4e 100644 (file)
@@ -2,16 +2,6 @@
 
 namespace BookStack\Exceptions;
 
-use Exception;
+class ApiAuthException extends UnauthorizedException {
 
-class ApiAuthException extends Exception
-{
-
-    /**
-     * ApiAuthException constructor.
-     */
-    public function __construct($message, $code = 401)
-    {
-        parent::__construct($message, $code);
-    }
 }
\ No newline at end of file