Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ErrorHandler

Handles errors in HTTP responses.

Hierarchy

  • ErrorHandler

Implemented by

Index

Methods

Methods

handle

  • handle(response: Response): Promise<void>
  • Throws appropriate Errors based on HTTP status codes and response bodies.

    throws

    HttpError

    Parameters

    • response: Response

    Returns Promise<void>

Generated using TypeDoc