MediaWiki master
MediaWiki\Rest\Reporter\MWErrorReporter Class Reference

Error reporter based on MWExceptionHandler. More...

Inherits MediaWiki\Rest\Reporter\ErrorReporter.

Collaboration diagram for MediaWiki\Rest\Reporter\MWErrorReporter:

Public Member Functions

 reportError (Throwable $error, ?Handler $handler, RequestInterface $request)
 

Detailed Description

Error reporter based on MWExceptionHandler.

See also
MWExceptionHandler
Since
1.38

Definition at line 15 of file MWErrorReporter.php.

Member Function Documentation

◆ reportError()

MediaWiki\Rest\Reporter\MWErrorReporter::reportError ( Throwable $error,
?Handler $handler,
RequestInterface $request )
Parameters
Throwable$error
Handler | null$handler
RequestInterface$request

Implements MediaWiki\Rest\Reporter\ErrorReporter.

Definition at line 22 of file MWErrorReporter.php.


The documentation for this class was generated from the following file: