4in1_ws_web/classes/exceptions/UnauthorizedException.php
2023-12-30 23:29:31 +00:00

11 lines
201 B
PHP

<?php
namespace exceptions;
class UnauthorizedException extends \BadMethodCallException {
public function __construct(string $message = '') {
parent::__construct($message, 401);
}
}