Class RunLevelErrorHandler
Accessors
handle
- get handle(): ((e: Error) => void)
-
Returns ((e: Error) => void)
-
- (e: Error): void
-
Returns void
Methods
display
- display(e: Error): void
-
Returns void
wrapContext
- wrapContext(e: Error, context: {
[key: string]: any;
}): ErrorWithContext
-
Parameters
-
e: Error
-
context: {
[key: string]: any;
}
Class with logic for handling errors that are thrown at the run-level of the application.
Colloquially, these are errors thrown ourside the request-lifecycle that are not caught by a unit.