Sha256: 1f7202bf9b02d48b1eb6faa3e9c23e2d209942ac1e2b1c316adafa5ceec0a74c
Contents?: true
Size: 556 Bytes
Versions: 1
Compression:
Stored size: 556 Bytes
Contents
module OpenAmplify class Error < StandardError attr_reader :http_headers def initialize(message, http_headers) @http_headers = http_headers super(message) end end # Error class Error::ServerError < OpenAmplify::Error; end class Error::ServiceUnavailable < Error::ServerError; end class Error::ClientError < OpenAmplify::Error; end class Error::Forbidden < Error::ClientError; end class Error::BadRequest < Error::ClientError; end class Error::RequestTooLarge < Error::ClientError; end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openamplify-0.3.0 | lib/openamplify/error.rb |