Class WhatsAppAPIUnexpectedError

Thrown in unusual cases, such as on empty or unknown payloads from the API side.

It 100% should never happen, and if it does, feel free to open an issue on GitHub so we can investigate these impossibles scenarios.

Hierarchy (View Summary)

Properties

Accessors

Methods

Properties

httpStatus: number

The HTTP status code of the error

Accessors

  • get docs(): string
  • Returns string

    The URL to the error's documentation

Methods