Represents an error that occurred while using the MaxMind DB library.

Hierarchy

  • Error
    • MmdbError

Constructors

  • Parameters

    • message: string

      A message describing the error.

    • code: number

      The error code (see MMDB_*_ERROR constants).

    Returns MmdbError

Properties

code: number

The error code (see MMDB_*_ERROR constants).

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