ExceptionDataCollector
class ExceptionDataCollector extends DataCollector
ExceptionDataCollector.
Methods
bool
hasException()
Checks if the exception is not null.
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
in DataCollector at line line 33
serialize()
in DataCollector at line line 38
unserialize($data)
at line line 28
collect(Request $request, Response $response, Exception $exception = null)
Collects data for the given Request and Response.
at line line 42
bool
hasException()
Checks if the exception is not null.
at line line 52
Exception
getException()
Gets the exception.
at line line 62
string
getMessage()
Gets the exception message.
at line line 72
int
getCode()
Gets the exception code.
at line line 82
int
getStatusCode()
Gets the status code.
at line line 92
array
getTrace()
Gets the exception trace.
at line line 100
string
getName()
Returns the name of the collector.