Module: RestClient::Exceptions

Defined in:
lib/restclient/exceptions.rb,
lib/restclient/exceptions.rb

Overview

RestClient exception classes. TODO: move all exceptions into this module.

We will a create an exception for each status code, see www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

Defined Under Namespace

Classes: OpenTimeout, ReadTimeout, Timeout

Constant Summary collapse

EXCEPTIONS_MAP =

Map http status codes to the corresponding exception class

{}