mirror of
https://github.com/filp/whoops.git
synced 2026-08-31 12:38:10 +00:00
Merge pull request #674 from CodeBrauer/master
Add Exception getCode to formatExceptionAsDataArray
This commit is contained in:
@@ -21,6 +21,7 @@ class Formatter
|
||||
$response = [
|
||||
'type' => get_class($exception),
|
||||
'message' => $exception->getMessage(),
|
||||
'code' => $exception->getCode(),
|
||||
'file' => $exception->getFile(),
|
||||
'line' => $exception->getLine(),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user