Class: UseReactKernelErrorHandler
Class: UseReactKernelErrorHandler
Class representing an UseReactUseReactKernelErrorHandler.
Kernel level error handler for React applications.
Implements
IErrorHandler
<ReactIncomingEvent
,UseReactErrorResponseType
>
Constructors
Constructor
new UseReactKernelErrorHandler(options): UseReactKernelErrorHandler;
Create an UseReactUseReactKernelErrorHandler.
Parameters
options
UseReactUseReactKernelErrorHandler options.
blueprint
IBlueprint
Returns
UseReactKernelErrorHandler
Methods
handle()
handle(error): UseReactErrorResponseType;
Handle an error.
Parameters
error
any
The error to handle.
Returns
The outgoing http response.
Implementation of
IErrorHandler.handle