summaryrefslogtreecommitdiff
path: root/engine/exceptions/UnauthorizedException.php
blob: 84a125110afcc4bf42079b6bd49457f2c61b06a1 (plain)
1
2
3
4
5
6
7
8
9
<?php

class UnauthorizedException extends BadMethodCallException {

    public function __construct(string $message = '') {
        parent::__construct($message, 401);
    }

}