mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 12:33:56 +00:00
13 lines
377 B
PHP
13 lines
377 B
PHP
<?php
|
|
|
|
namespace App\Classes\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);
|
|
}
|
|
}
|