Function: AdapterErrorHandler()
Function: AdapterErrorHandler()
function AdapterErrorHandler<T>(options): ClassDecorator;
AdapterErrorHandler decorator to set imperative configuration.
Type Parameters
T
T
extends ClassType
= ClassType
Parameters
options
The AdapterErrorHandler options.
Returns
ClassDecorator
A class decorator function that sets the metadata using the provided options.
Example
@AdapterErrorHandler({ error: ['Error', 'RuntimeError'] })
class MyClass {
// ...
}