MediaWiki  master
MediaWiki\Rest\Reporter\MWErrorReporter Class Reference

Error reporter based on MWExceptionHandler. More...

Inheritance diagram for MediaWiki\Rest\Reporter\MWErrorReporter:
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$handler
RequestInterface$request

Implements MediaWiki\Rest\Reporter\ErrorReporter.

Definition at line 22 of file MWErrorReporter.php.

References MWExceptionHandler\rollbackPrimaryChangesAndLog().


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