Class HadawiApiError

Lightweight fetch wrapper shared by all server-side modules. Uses the X-API-Key header for merchant authentication.

Hierarchy

  • Error
    • HadawiApiError

Constructors

Properties

Constructors

  • Parameters

    • message: string
    • status: number
    • code: string = ''

    Returns HadawiApiError

Properties

status: number
code: string