Sha256: a8f6a33136389c7e9f55afcb66a5247cb054310001d65a7e204aebc9cd345788
Contents?: true
Size: 637 Bytes
Versions: 8
Compression:
Stored size: 637 Bytes
Contents
module Zoop class ZoopError < StandardError end class ConnectionError < ZoopError attr_reader :error def initialize(error) @error = error super error.message end end class RequestError < ZoopError end class ResponseError < ZoopError attr_reader :request_params, :error def initialize(request_params, error) @request_params, @error = request_params, error super @error end end class NotFound < ResponseError attr_reader :response def initialize(response, request_params, error) @response = response super request_params, error end end end
Version data entries
8 entries across 8 versions & 1 rubygems