Exception: Berkshelf::GraphvizCommandFailed
- Inherits:
-
BerkshelfError
- Object
- StandardError
- BerkshelfError
- Berkshelf::GraphvizCommandFailed
- Defined in:
- lib/berkshelf/errors.rb
Instance Method Summary collapse
-
#initialize(command, output) ⇒ GraphvizCommandFailed
constructor
A new instance of GraphvizCommandFailed.
- #to_s ⇒ Object
Methods inherited from BerkshelfError
Constructor Details
#initialize(command, output) ⇒ GraphvizCommandFailed
Returns a new instance of GraphvizCommandFailed.
471 472 473 474 |
# File 'lib/berkshelf/errors.rb', line 471 def initialize(command, output) @command = command @output = output end |
Instance Method Details
#to_s ⇒ Object
476 477 478 479 |
# File 'lib/berkshelf/errors.rb', line 476 def to_s "The Graphviz command `#{@command}` failed to execute properly. Here " \ "is the standard error from the command:\n\n#{@output}" end |