Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Optional defaultErrorCode

defaultErrorCode: number

The default, numeric error code -> This is 500 by default

Optional logger

A callback that is executed when an error occurs. The callback receives the error object and can be used to log the error to external services

Optional printErrorToConsole

printErrorToConsole: boolean

By default the framework print's all errors to the console output. Set this to FALSE to disable this feature

Optional registerGlobalErrorHandler

registerGlobalErrorHandler: boolean

By default the framework registers a global error handler to capture events in callbacks and timeouts. If you don't want that set this to FALSE

Optional routes

A list of routes to redirect to when an error with a given code occurs

Generated using TypeDoc