Exception: Radius::MissingEndTagError
- Inherits:
-
ParseError
- Object
- StandardError
- ParseError
- Radius::MissingEndTagError
- Defined in:
- lib/radius/error.rb
Overview
Occurs when Parser cannot find an end tag for a given tag in a template or when tags are miss-matched in a template.
Instance Method Summary collapse
-
#initialize(tag_name, stack) ⇒ MissingEndTagError
constructor
Create a new MissingEndTagError object for
tag_name
.
Constructor Details
#initialize(tag_name, stack) ⇒ MissingEndTagError
Create a new MissingEndTagError object for tag_name
.
18 19 20 21 |
# File 'lib/radius/error.rb', line 18 def initialize(tag_name, stack) = " with stack #{stack.inspect}" if stack super("end tag not found for start tag `#{tag_name}'#{}") end |