This error is raised when an error condition occurs during rendering of a node.
The alcn of the file where the error happened. This can be different from alcn (e.g. a page file is rendered but the error happens in a used template).
Create a new RenderError using the provided values.
If msg_or_error is a String, it is treated as the error message. If it is an exception, the exception is wrapped.
# File lib/webgen/error.rb, line 68 def initialize(msg_or_error, class_name = nil, alcn = nil, error_alcn = nil, line = nil) super(msg_or_error, class_name, alcn) @error_alcn, @line = (error_alcn.kind_of?(Node) ? error_alcn.to_s : error_alcn), line end
Generated with the Darkfish Rdoc Generator 2.