Exception: Caesars::SyntaxError
- Defined in:
- lib/caesars/exceptions.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
Methods inherited from Error
Constructor Details
This class inherits a constructor from Caesars::Error
Instance Method Details
#message ⇒ Object
10 11 12 13 14 15 |
# File 'lib/caesars/exceptions.rb', line 10 def msg = "Syntax error in #{@obj}" bt = @backtrace msg << " in " << bt.first.scan(/\`(.+?)'/).flatten.first if bt msg end |