Exception: Radius::WrongEndTagError
- Inherits:
-
ParseError
- Object
- StandardError
- ParseError
- Radius::WrongEndTagError
- Defined in:
- lib/radius/error.rb
Overview
Occurs when the Parser expects an end tag for one tag and finds the end tag for another.
Instance Method Summary collapse
-
#initialize(expected_tag, got_tag, stack) ⇒ WrongEndTagError
constructor
A new instance of WrongEndTagError.
Constructor Details
#initialize(expected_tag, got_tag, stack) ⇒ WrongEndTagError
Returns a new instance of WrongEndTagError.
8 9 10 11 |
# File 'lib/radius/error.rb', line 8 def initialize(expected_tag, got_tag, stack) = " with stack #{stack.inspect}" if stack super("wrong end tag `#{got_tag}' found for start tag `#{expected_tag}'#{}") end |