Exception: Rabbit::DiaCanNotHandleError

Inherits:
ImageLoadWithExternalCommandError show all
Defined in:
lib/rabbit/error.rb

Constant Summary

Constants included from GetText

GetText::DOMAIN

Instance Attribute Summary

Attributes inherited from ImageLoadWithExternalCommandError

#command, #type

Instance Method Summary collapse

Methods included from GetText

included

Constructor Details

#initialize(command, tried_commands) ⇒ DiaCanNotHandleError

Returns a new instance of DiaCanNotHandleError.


57
58
59
60
61
# File 'lib/rabbit/error.rb', line 57

def initialize(command, tried_commands)
  format = _("tried dia commands: %s")
  additional_info = format % tried_commands.inspect
  super("Dia", command, additional_info)
end