Hierarchy (view full)

Implements

  • Error

Constructors

  • Parameters

    • Optionalmessage: string | Error
    • Optionalcode: EErrorsCodes
    • Optionalexception: 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)

Returns a string representation of an object.