Sha256: b3e264d9e315127264a2456a1eeb42908aa8b724eaf9c41f09b4bd2f53c3e323

Contents?: true

Size: 199 Bytes

Versions: 7

Compression:

Stored size: 199 Bytes

Contents

class CentrumFaktur::ResponseError < StandardError
  attr_reader :response

  def initialize(response)
    @response = response
    super("HTTP CODE: #{@response.code}: #{@response.body}")
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
centrum_faktur-0.3.1 lib/centrum_faktur/exceptions.rb
centrum_faktur-0.3.0 lib/centrum_faktur/exceptions.rb
centrum_faktur-0.2.2 lib/centrum_faktur/exceptions.rb
centrum_faktur-0.2.1 lib/centrum_faktur/exceptions.rb
centrum_faktur-0.2.0 lib/centrum_faktur/exceptions.rb
centrum_faktur-0.1.0 lib/centrum_faktur/exceptions.rb
centrum_faktur-0.0.1 lib/centrum_faktur/exceptions.rb