-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
V4.5.x
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
namespace App\Exceptions; | ||
|
||
use Exception; | ||
|
||
class QueryException extends Exception | ||
{ | ||
public function render( $message ) | ||
{ | ||
$message = $this->getMessage(); | ||
$title = __( 'Query Exception' ); | ||
return response()->view( 'pages.errors.db-exception', compact( 'message', 'title' ), 500 ); | ||
} | ||
} |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.