Sha256: 2017c7fbb0ad51991eaf6184fba7ac20c2688d759bb59aebe8c1e306e680ee2c

Contents?: true

Size: 203 Bytes

Versions: 18

Compression:

Stored size: 203 Bytes

Contents

module PagSeguro
  module Errors
    class UnknownError < Exception
      def initialize(response)
        super("Unknown response code (#{response.code}):\n#{response.body}")
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
pag_seguro-0.5.3 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.5.2 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.5.1 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.4.1 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.4.0 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.3.2 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.3.1 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.3.0 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.2.3 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.2.2 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.2.1 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.2.0 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.1.9 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.1.8 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.1.7 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.1.6 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.1.4 lib/pag_seguro/errors/unknown_error.rb
pag_seguro-0.1.3 lib/pag_seguro/errors/unknown_error.rb