madbob/GASdottoNG

View on GitHub
code/app/Exceptions/AuthException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace App\Exceptions;

class AuthException extends \Exception
{
    public function __construct($status)
    {
        parent::__construct("Not authorized", $status);
    }

    public function status()
    {
        return $this->getCode();
    }

}