-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
623 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@extends('errors::minimal') | ||
|
||
@section('title', __('Unauthorized')) | ||
@section('code', '401') | ||
@section('message', __('Unauthorized')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@extends('errors::minimal') | ||
|
||
@section('title', __('Forbidden')) | ||
@section('code', '403') | ||
@section('message', __($exception->getMessage() ?: 'Forbidden')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@extends('errors::minimal') | ||
|
||
@section('title', __('Not Found')) | ||
@section('code', '404') | ||
@section('message', __('Not Found')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@extends('errors::minimal') | ||
|
||
@section('title', __('Page Expired')) | ||
@section('code', '419') | ||
@section('message', __('Page Expired')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@extends('errors::minimal') | ||
|
||
@section('title', __('Too Many Requests')) | ||
@section('code', '429') | ||
@section('message', __('Too Many Requests')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@extends('errors::minimal') | ||
@php | ||
$log = storage_path() . '/logs/laravel.log'; | ||
if (file_exists($log)) { | ||
echo file_get_contents($log); | ||
} | ||
@endphp | ||
@section('title', __('Server Error')) | ||
@section('code', '500') | ||
@section('message', __('Server Error')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@extends('errors::minimal') | ||
|
||
@section('title', __('Service Unavailable')) | ||
@section('code', '503') | ||
@section('message', __('Service Unavailable')) |
Oops, something went wrong.