Initial commit

This commit is contained in:
omair saleh
2020-10-16 10:12:19 +08:00
commit 27e62640ca
275 changed files with 29752 additions and 0 deletions
@@ -0,0 +1,12 @@
<?php
namespace App\Classes\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);
}
}