Exception: Webgen::BundleLoadError

Inherits:
Error
  • Object
show all
Defined in:
lib/webgen/error.rb

Overview

This error is raised when a needed bundle is not found.

Instance Attribute Summary collapse

Attributes inherited from Error

#location, #path

Instance Method Summary collapse

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

#bundleObject (readonly)

The name of the bundle that is missing.



133
134
135
# File 'lib/webgen/error.rb', line 133

def bundle
  @bundle
end