Represents an error that occurred while trying to get the address of a hostname.

Hierarchy

  • Error
    • GetAddrError

Constructors

  • Parameters

    • message: string

      A message describing the error.

    • code: number

      The error code (see gai_error).

    Returns GetAddrError

Properties

code: number

The error code (see gai_error).

prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number
name: string
message: string
stack?: string

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc