Handles errors in HTTP responses by mapping status codes to common error types.
Throws appropriate Errors based on HTTP status codes and response bodies.
Error
BadRequestError: BadRequest
AuthenticationError: Unauthorized
AuthorizationError: Forbidden
NotFoundError: NotFound or Gone
TimeoutError: RequestTimeout
ConflictError: Conflict
ConcurrencyError: PreconditionFailed
HttpError: Other non-success status code
Generated using TypeDoc
Handles errors in HTTP responses by mapping status codes to common error types.