Exception: Webgen::BundleLoadError
- Defined in:
- lib/webgen/error.rb
Overview
This error is raised when a needed bundle is not found.
Instance Attribute Summary collapse
-
#bundle ⇒ Object
readonly
The name of the bundle that is missing.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(bundle) ⇒ BundleLoadError
constructor
Create a new BundleLoadError.
Methods inherited from Error
error_file, error_line, #message
Constructor Details
#initialize(bundle) ⇒ BundleLoadError
Create a new BundleLoadError.
136 137 138 |
# File 'lib/webgen/error.rb', line 136 def initialize(bundle) super("The needed bundle '#{bundle}' is missing.", nil, nil) end |
Instance Attribute Details
#bundle ⇒ Object (readonly)
The name of the bundle that is missing.
133 134 135 |
# File 'lib/webgen/error.rb', line 133 def bundle @bundle end |