Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseError

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new BaseError(cause: Error | null, message: undefined | string, code: undefined | number, skipStackStructuring?: boolean): BaseError
  • Parameters

    • cause: Error | null
    • Optional message: undefined | string
    • Optional code: undefined | number
    • Default value skipStackStructuring: boolean = false

    Returns BaseError

Properties

message

message: string

name

name: string

Optional stack

stack: undefined | string

Static Error

Error: ErrorConstructor

Generated using TypeDoc