Sha256: 026bdf488dc4b5afdb334f8c4ff8923111e2ca533dab9aae4a1ab452aa599064

Contents?: true

Size: 294 Bytes

Versions: 29

Compression:

Stored size: 294 Bytes

Contents

# I want it not to be an exception, for now
class Gillbus::ParseError
  def initialize(response_string)
    @response = response_string
  end
  attr_reader :response
  attr_accessor :session_id
  def error?; true; end
  def error_code; 0; end
  def error_message; "Malformed response"; end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
gillbus-0.16.5 lib/gillbus/parse_error.rb
gillbus-0.16.4 lib/gillbus/parse_error.rb
gillbus-0.16.3 lib/gillbus/parse_error.rb
gillbus-0.16.2 lib/gillbus/parse_error.rb
gillbus-0.16.1 lib/gillbus/parse_error.rb
gillbus-0.15.7 lib/gillbus/parse_error.rb
gillbus-0.15.6 lib/gillbus/parse_error.rb
gillbus-0.15.5 lib/gillbus/parse_error.rb
gillbus-0.15.4 lib/gillbus/parse_error.rb
gillbus-0.15.3 lib/gillbus/parse_error.rb
gillbus-0.15.2 lib/gillbus/parse_error.rb
gillbus-0.15.1 lib/gillbus/parse_error.rb
gillbus-0.15.0 lib/gillbus/parse_error.rb
gillbus-0.14.12 lib/gillbus/parse_error.rb
gillbus-0.14.11 lib/gillbus/parse_error.rb
gillbus-0.14.10 lib/gillbus/parse_error.rb
gillbus-0.14.9 lib/gillbus/parse_error.rb
gillbus-0.14.8 lib/gillbus/parse_error.rb
gillbus-0.14.7 lib/gillbus/parse_error.rb
gillbus-0.14.6 lib/gillbus/parse_error.rb