class ExceptionDataCollector extends DataCollector
ExceptionDataCollector.
Methods
serialize() | from DataCollector | |
unserialize($data) | from DataCollector | |
collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. | ||
bool | hasException() Checks if the exception is not null. | |
Exception | getException() Gets the exception. | |
string | getMessage() Gets the exception message. | |
int | getCode() Gets the exception code. | |
int | getStatusCode() Gets the status code. | |
array | getTrace() Gets the exception trace. | |
string | getName() Returns the name of the collector. |
Details
serialize()
unserialize($data)
collect(Request $request, Response $response, Exception $exception = null)
Collects data for the given Request and Response.
bool hasException()
Checks if the exception is not null.
Exception getException()
Gets the exception.
string getMessage()
Gets the exception message.
int getCode()
Gets the exception code.
int getStatusCode()
Gets the status code.
array getTrace()
Gets the exception trace.
string getName()
Returns the name of the collector.
Please login to continue.