mirror of
https://github.com/filp/whoops.git
synced 2026-09-04 14:37:28 +00:00
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