mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-21 21:44:14 +00:00
Major incomplete Change
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\ControllerLogic\Exceptions;
|
||||
|
||||
use App\Classes\ValueObjects\Constants\HttpStatus;
|
||||
|
||||
final class AccessForbiddenException extends ServiceApiException {
|
||||
public function __construct(?string $message = null) {
|
||||
parent::__construct($message ?? 'A forbidden attempt to access protected resources was detected',
|
||||
HttpStatus::ACCESS_FORBIDDEN);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user