Exception: CouchShell::Shell::PluginLoadError

Inherits:
CouchShell::ShellUserError show all
Defined in:
lib/couch-shell/shell.rb

Instance Method Summary collapse

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

#messageObject



53
54
55
# File 'lib/couch-shell/shell.rb', line 53

def message
  "Failed to load plugin #@plugin_name: #@reason"
end