Abstract
Optional
controllerOptional
endpointAbstract
interceptError interceptors implement this method to handle errors.
Details of error that was thrown by an endpoint, contains the request and response context, which can used to return a custom HTTP response.
Value that you want to send back in the HTTP response; optional.
Should this interceptor handle a given endpoint error?
Class name of the controller where the error occurred.
Name of the endpoint; format is ${ClassName}:${MethodName}.
If this is a global error interceptor, denoted by a endpointTarget that equals "*", return true. Otherwise return whether the endpointTarget or controllerTarget match the controller or endpoint respectively.
Generated using TypeDoc
Base class for implementing error interceptors that are invoked to handle errors thrown by endpoints.