Sha256: 37be5719e9614cb944027f633b79ed138c03e2aaa2e5e46f1b6810b7caf4a260
Contents?: true
Size: 607 Bytes
Versions: 12
Compression:
Stored size: 607 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 ServerError < Base; end # 500 errors class GatewayTimeout < Base; end # 504 errors class ConnectionFailed < Base; end class UnexpectedResponse < Base; end end end
Version data entries
12 entries across 12 versions & 2 rubygems