Exception: Blather::ParseError

Inherits:
BlatherError show all
Defined in:
lib/blather/errors.rb

Overview

Something bad happened while parsing the incoming stream

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BlatherError

handler_list, #id, register

Constructor Details

#initialize(msg) ⇒ ParseError

Returns a new instance of ParseError.



64
65
66
# File 'lib/blather/errors.rb', line 64

def initialize(msg)
  @message = msg.to_s
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



62
63
64
# File 'lib/blather/errors.rb', line 62

def message
  @message
end