Exception: DTK::R8ParseError

Inherits:
Error
  • Object
show all
Defined in:
lib/errors/errors.rb

Constant Summary

Constants inherited from Error

Error::CallerOffset, Error::DefaultCallerDepth

Instance Method Summary collapse

Methods inherited from Error

#to_hash, top_error_in_hash

Constructor Details

#initialize(msg, calling_obj = nil) ⇒ R8ParseError

Returns a new instance of R8ParseError.



56
57
58
59
# File 'lib/errors/errors.rb', line 56

def initialize(msg,calling_obj=nil)
  msg = (calling_obj ? "#{msg} in class #{calling_obj.class.to_s}" : msg)
  super(msg)
end