Handles errors in HTTP responses.

Hierarchy

  • ErrorHandler

Implemented by

Methods

Methods

  • Throws appropriate Errors based on HTTP status codes and response bodies.

    Throws

    HttpError

    Parameters

    • response: Response

    Returns Promise<void>

Generated using TypeDoc