Sha256: 176a0246bdfac7b6c1baad127511f2fcebbd853f7c2d6f6a4910ff6d8089902f
Contents?: true
Size: 552 Bytes
Versions: 1
Compression:
Stored size: 552 Bytes
Contents
module Chargify module Error class Base < StandardError attr_reader :response def initialize(response=nil) @response = response end end class AccessDenied < Base; end # 401 errors class Forbidden < Base; end # 403 errors class BadRequest < Base; end # 422 errors class NotFound < Base; end # 404 errors class GatewayTimeout < Base; end # 504 errors class ConnectionFailed < Base; end class UnexpectedResponse < Base; end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jsmestad-chargify-0.3.0.pre5 | lib/chargify/error.rb |