Exception: Rager::Errors::ParseError
- Inherits:
-
Rager::Error
- Object
- StandardError
- Rager::Error
- Rager::Errors::ParseError
- Extended by:
- T::Sig
- Defined in:
- lib/rager/errors/parse_error.rb
Instance Method Summary collapse
-
#initialize(description, body = nil) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(description, body = nil) ⇒ ParseError
Returns a new instance of ParseError.
12 13 14 15 16 |
# File 'lib/rager/errors/parse_error.rb', line 12 def initialize(description, body = nil) = description += " -- #{body}" if body super() end |