Options
All
  • Public
  • Public/Protected
  • All
Menu
description

Exports error classes which may be returned by this client

Index

Type aliases

ApiErrorResponse

ApiErrorResponse: components["schemas"]["ErrorResponse"]

Functions

Const parse

  • parse

    Parses API responses and returns an error for non 2xx responses

    Upon detecting an error an instance of IdealPostcodesError is returned

    Parameters

    Returns void | Error