mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 04:24:00 +00:00
13 lines
411 B
PHP
Executable File
13 lines
411 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Classes\Modules\ControllerLogic\Exceptions;
|
|
|
|
use App\Classes\ValueObjects\Constants\HttpStatus;
|
|
|
|
final class AccessUnauthorisedException extends ServiceApiException {
|
|
public function __construct(?string $message = null) {
|
|
parent::__construct($message ?? 'An unauthorised attempt to access protected resources was detected',
|
|
HttpStatus::ACCESS_UNAUTHORISED);
|
|
}
|
|
}
|