mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
Initial setup
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Exceptions;
|
||||
|
||||
abstract class ServiceApiException extends ErrorException {
|
||||
|
||||
public function __construct(string $message, int $httpStatusCode = 500) {
|
||||
parent::__construct($message, $httpStatusCode);
|
||||
$this->httpStatusCode = $httpStatusCode;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user