Sha256: f4312f61a41533efd37843077f56811091c98364de9b028ad325d5b09f605bbb

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

class Evil::Client::Operation
  class ResponseError < RuntimeError
    attr_reader :response

    private

    def initialize(schema, status, response)
      @response = response
      super "Response to operation '#{schema[:key]}' has http status #{status}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
evil-client-0.2.3 lib/evil/client/operation/response_error.rb
evil-client-0.2.2 lib/evil/client/operation/response_error.rb
evil-client-0.2.1 lib/evil/client/operation/response_error.rb