DefaultErrorHandler

Handles errors in HTTP responses by mapping status codes to common exception types.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun handle(response: Response)

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