Exception: Radius::MissingEndTagError

Inherits:
ParseError
  • Object
show all
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

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)
  stack_message = " with stack #{stack.inspect}" if stack
  super("end tag not found for start tag `#{tag_name}'#{stack_message}")
end