Sha256: c8e2b4d3f3ce9a946bd89a66d773f0e8bf35f0d88ffe2418e5c94a90b7d84aac
Contents?: true
Size: 279 Bytes
Versions: 3
Compression:
Stored size: 279 Bytes
Contents
# frozen_string_literal: true module EzClient class ResponseStatusError < StandardError attr_accessor :response def initialize(response) self.response = response super end def message "Bad response code: #{response.code}" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ezclient-1.7.1 | lib/ezclient/errors.rb |
ezclient-1.7.0 | lib/ezclient/errors.rb |
ezclient-1.6.0 | lib/ezclient/errors.rb |