Exception: Webgen::NodeCreationError
- Defined in:
- lib/webgen/error.rb
Overview
This error is raised when an error condition occurs during the creation of a node.
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#message ⇒ Object
:nodoc:.
Methods inherited from Error
error_file, error_line, #initialize
Constructor Details
This class inherits a constructor from Webgen::Error
Instance Method Details
#message ⇒ Object
:nodoc:
56 57 58 59 60 61 62 |
# File 'lib/webgen/error.rb', line 56 def # :nodoc: msg = 'Error' msg << " at #{@location}" if @location msg << ' while creating a node' msg << (!@path.to_s.empty? ? " from <#{@path}>" : '') msg << ":\n " << super(true) end |