diff --git a/src/app/Exceptions/MyAppException.php b/src/app/Exceptions/MyAppException.php new file mode 100644 index 0000000..6c785a7 --- /dev/null +++ b/src/app/Exceptions/MyAppException.php @@ -0,0 +1,41 @@ +getStatusCode(), + $this->getUserMessage(), + $this->getPrevious(), + [], + $this->code + ); + } +}