TypedError: {
    cause: string;
    stack: string | undefined;
    type: string;
}

Types an error with all three core properties visible: type (name), cause (message) and stack (trace).

Type declaration

  • cause: string
  • stack: string | undefined
  • type: string

Generated using TypeDoc