diff --git a/app/Exceptions/Api/ApiException.php b/app/Exceptions/Api/ApiException.php index e68bcc50..6d2011cc 100644 --- a/app/Exceptions/Api/ApiException.php +++ b/app/Exceptions/Api/ApiException.php @@ -47,4 +47,14 @@ abstract class ApiException extends Exception { return __('exceptions.api.'.$this->getKey()); } + + /** + * Report the exception. + * + * @return bool true means the exception handler will not report it again + */ + public function report(): bool + { + return true; + } }