Sha256: 0ae0022a150a668db03dbcdc79e91c50556f9992ab7a7f4b767a9d08474eb23f

Contents?: true

Size: 323 Bytes

Versions: 3

Compression:

Stored size: 323 Bytes

Contents

module HeartlandRetail
  class Client
    ##
    # API request failure
    class RequestFailed < RuntimeError
      attr_accessor :response
    end

    ##
    # Authorization failure
    class AuthFailed < RequestFailed; end

    ##
    # Error parsing the response body
    class BodyError < RequestFailed; end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
heartland-retail-5.1.0 lib/heartland/client/errors.rb
heartland-retail-5.0.1 lib/heartland/client/errors.rb
heartland-retail-5.0.0 lib/heartland/client/errors.rb