ErrorReport
class ErrorReport (View source)
Error reporting functions used to generate and submit error reports
Methods
No description
Set the URL where to submit reports to
Returns the error report data collected from the current configuration or from the request parameters sent by the error reporting js code.
Sends report data to the error reporting server
Generates the error report form to collect user description and preview the report before being sent
No description
Details
__construct(HttpRequest $httpRequest, Relation $relation, Template $template, Config $config)
No description
void
setSubmissionUrl(string $submissionUrl)
Set the URL where to submit reports to
array
getData(string $exceptionType = 'js')
Returns the error report data collected from the current configuration or from the request parameters sent by the error reporting js code.
string|bool|null
send(array $report)
Sends report data to the error reporting server
string
getForm()
Generates the error report form to collect user description and preview the report before being sent
string
getEmptyModal()
No description