Hierarchy (view full)

Implements

  • Error

Constructors

  • Parameters

    • Optional message: string | Error
    • Optional code: EErrorsCodes
    • Optional exception: null | string | Error

    Returns __Error

Properties

_message: string

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

errorCode: EErrorsCodes

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

exception: Error
message: string
name: string
stack: string
toString: (() => string)

Type declaration

    • (): string
    • Returns string

Generated using TypeDoc