Type alias BlipOptions

BlipOptions: {
    data?: object;
    rootErr?: Error;
    statusCode?: number;
}

Object that can be optionally passed to the BlipError constructor to configure the error.

See

BlipError

Type declaration

  • Optional data?: object

    Additional metadata to attach to the error.

  • Optional rootErr?: Error

    The root error that caused this error.

  • Optional statusCode?: number

    HTTP Status code between 100 and 599 inclusive.

Generated using TypeDoc