Exception: ContextIO::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/context-io/error.rb

Overview

Base class for ContextIO exceptions.

Direct Known Subclasses

ClientError, ServerError

Defined Under Namespace

Classes: BadRequest, ClientError, Forbidden, InternalServerError, NotFound, PaymentRequired, ServerError, ServiceUnavailable, Unauthorized

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Hash{String => String}) http_headers (readonly)

The HTTP headers of the response.

Returns:

  • (Hash{String => String})

    The HTTP headers of the response.



9
10
11
# File 'lib/context-io/error.rb', line 9

def http_headers
  @http_headers
end