Sha256: dbf2a93f70029450179ca2146894db1ebce16718716a1685ff361eb5001959da
Contents?: true
Size: 417 Bytes
Versions: 5
Compression:
Stored size: 417 Bytes
Contents
module PagarMe class PagarMeError < StandardError attr_reader :message attr_reader :original_error def initialize(message=nil, original_error=nil) @message = message @original_error = original_error end def to_s "#{self.class.to_s} - #{message}" end end class TransactionError < PagarMeError end class ConnectionError < PagarMeError end class ResponseError < PagarMeError end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
pagarme-0.15 | lib/pagarme/errors.rb |
pagarme-0.14 | lib/pagarme/errors.rb |
pagarme-0.13 | lib/pagarme/errors.rb |
pagarme-0.12 | lib/pagarme/errors.rb |
pagarme-0.11 | lib/pagarme/errors.rb |