From 47007200201ae76a371014245e2ecc536b5d9a27 Mon Sep 17 00:00:00 2001 From: Okada Shohei Date: Mon, 18 Mar 2019 08:30:25 +0900 Subject: [PATCH] =?UTF-8?q?=E7=8B=AC=E8=87=AA=E4=BE=8B=E5=A4=96=E3=81=AE?= =?UTF-8?q?=E6=8A=BD=E8=B1=A1=E5=9F=BA=E5=BA=95=E3=82=AF=E3=83=A9=E3=82=B9?= =?UTF-8?q?=E3=82=92=E5=AE=9A=E7=BE=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/Exceptions/MyAppException.php | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/app/Exceptions/MyAppException.php 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 + ); + } +}