class Rabbit::ImageLoadWithExternalCommandError

Attributes

command[R]
type[R]

Public Class Methods

new(type, command, additional_info=nil) click to toggle source
Calls superclass method
# File lib/rabbit/error.rb, line 36
def initialize(type, command, additional_info=nil)
  @type = type
  @command = command
  format =
    _("can't handle %s because the following command " \
      "can't be run successfully: %s")
  msg = format % [@type, @command]
  msg << "\n#{additional_info}" if additional_info
  super(msg)
end