feat : oss
This commit is contained in:
@@ -39,7 +39,7 @@ class ErrExceptionHandler extends ExceptionHandler
|
|||||||
$result = match ($urlArr[0]) {
|
$result = match ($urlArr[0]) {
|
||||||
'api' => $this->apiReturn->error($throwable->getMessage(),$throwable->getCode()),
|
'api' => $this->apiReturn->error($throwable->getMessage(),$throwable->getCode()),
|
||||||
'admin' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()),
|
'admin' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()),
|
||||||
'error' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()),
|
'common' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()),
|
||||||
default => null,
|
default => null,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user