Exception: CouchShell::Shell::PluginLoadError
- Inherits:
-
CouchShell::ShellUserError
- Object
- Exception
- CouchShell::ShellUserError
- CouchShell::Shell::PluginLoadError
- Defined in:
- lib/couch-shell/shell.rb
Instance Method Summary collapse
-
#initialize(plugin_name, reason) ⇒ PluginLoadError
constructor
A new instance of PluginLoadError.
- #message ⇒ Object
Constructor Details
#initialize(plugin_name, reason) ⇒ PluginLoadError
Returns a new instance of PluginLoadError.
48 49 50 51 |
# File 'lib/couch-shell/shell.rb', line 48 def initialize(plugin_name, reason) @plugin_name = plugin_name @reason = reason end |
Instance Method Details
#message ⇒ Object
53 54 55 |
# File 'lib/couch-shell/shell.rb', line 53 def "Failed to load plugin #@plugin_name: #@reason" end |