Sha256: d9eaf19bd3be5a7249110ada1fee68dfe055e434a67fa1b908189858165e119d

Contents?: true

Size: 286 Bytes

Versions: 4

Compression:

Stored size: 286 Bytes

Contents

module Uatu
  class Error < StandardError
    attr_reader :http_headers

    def initialize(message, http_headers={})
      @http_headers = http_headers
      super(message)
    end

  end 

  class Error::ClientError < Uatu::Error; end
  class Error::BadRequest < Uatu::Error; end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
uatu-marvel-0.1.0 lib/uatu/error.rb
uatu-marvel-0.0.2 lib/uatu/error.rb
uatu-marvel-0.0.1.1 lib/uatu/error.rb
uatu-marvel-0.0.1 lib/uatu/error.rb