Exception: EDN::ParseFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/edn.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, original_exception) ⇒ ParseFailed

Returns a new instance of ParseFailed.



13
14
15
16
# File 'lib/edn.rb', line 13

def initialize(message, original_exception)
  super(message)
  @original_exception = original_exception
end

Instance Attribute Details

#original_exceptionObject (readonly)

Returns the value of attribute original_exception.



11
12
13
# File 'lib/edn.rb', line 11

def original_exception
  @original_exception
end