aboutsummaryrefslogtreecommitdiff
path: root/app/Exceptions
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-07 18:41:35 +0200
committerMateja <mail@matejamaric.com>2020-10-07 18:41:35 +0200
commitb981dc8715b36c83107de4c2868e3410a6faf457 (patch)
tree899a97261d0b901740cfbd949fc0839bb7a1e607 /app/Exceptions
downloadyota-laravel-b981dc8715b36c83107de4c2868e3410a6faf457.tar.gz
yota-laravel-b981dc8715b36c83107de4c2868e3410a6faf457.zip
First commit
Diffstat (limited to 'app/Exceptions')
-rw-r--r--app/Exceptions/Handler.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
new file mode 100644
index 0000000..7e40d73
--- /dev/null
+++ b/app/Exceptions/Handler.php
@@ -0,0 +1,37 @@
+<?php
+
+namespace App\Exceptions;
+
+use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
+
+class Handler extends ExceptionHandler
+{
+ /**
+ * A list of the exception types that are not reported.
+ *
+ * @var array
+ */
+ protected $dontReport = [
+ //
+ ];
+
+ /**
+ * A list of the inputs that are never flashed for validation exceptions.
+ *
+ * @var array
+ */
+ protected $dontFlash = [
+ 'password',
+ 'password_confirmation',
+ ];
+
+ /**
+ * Register the exception handling callbacks for the application.
+ *
+ * @return void
+ */
+ public function register()
+ {
+ //
+ }
+}