Sha256: c1aff5de1cc52cf98d4ec23c2d2f6c82f4d73494ce4ce08e85facdfd86e1fb52
Contents?: true
Size: 415 Bytes
Versions: 3
Compression:
Stored size: 415 Bytes
Contents
class Evil::Client::Operation class UnexpectedResponseError < RuntimeError attr_reader :response private def initialize(schema, response) @response = response message = "Response to operation '#{schema[:key]}'" \ " has unexpected http status #{response.status}." message << " See #{schema[:doc]} for details." if schema[:doc] super message end end end
Version data entries
3 entries across 3 versions & 1 rubygems