ErrorHandler

interface ErrorHandler

Handles errors in HTTP responses.

Inheritors

Functions

Link copied to clipboard
abstract fun handle(response: Response)

Throws appropriate Exceptions based on HTTP status codes and response bodies.