MediaWiki master
|
An ErrorReporter internally reports an error that happened during the handling of a request. More...
Inherited by MediaWiki\Rest\Reporter\MWErrorReporter, and MediaWiki\Rest\Reporter\PHPErrorReporter.
Public Member Functions | |
reportError (Throwable $error, ?Handler $handler, RequestInterface $request) | |
An ErrorReporter internally reports an error that happened during the handling of a request.
It must have no effect on the response sent to the client.
Definition at line 15 of file ErrorReporter.php.
MediaWiki\Rest\Reporter\ErrorReporter::reportError | ( | Throwable | $error, |
?Handler | $handler, | ||
RequestInterface | $request ) |
Throwable | $error | |
Handler | null | $handler | |
RequestInterface | $request |
Implemented in MediaWiki\Rest\Reporter\MWErrorReporter, and MediaWiki\Rest\Reporter\PHPErrorReporter.