Exception: Roby::CommandFailed

Inherits:
CodeError show all
Defined in:
lib/roby/standard_errors.rb

Overview

Raised if a command block has raised an exception

Instance Attribute Summary

Attributes inherited from LocalizedError

#failed_event, #failed_generator, #failed_task, #failure_point

Attributes inherited from ExceptionBase

#original_exceptions

Instance Method Summary collapse

Methods inherited from CodeError

#error, #initialize, match, #original_exception

Methods inherited from LocalizedError

#fatal?, #initialize, #involved_plan_object?, match, #propagated?, #to_execution_exception, to_execution_exception_matcher

Methods included from DRoby::V5::LocalizedErrorDumper

#droby_dump

Methods inherited from ExceptionBase

#each_original_exception, #initialize, #report_exceptions_from

Methods included from DRoby::V5::ExceptionBaseDumper

#droby_dump

Methods included from DRoby::V5::Builtins::ExceptionDumper

#droby_dump

Constructor Details

This class inherits a constructor from Roby::CodeError

Instance Method Details

#pretty_print(pp) ⇒ Object



369
370
371
372
373
# File 'lib/roby/standard_errors.rb', line 369

def pretty_print(pp)
    pp.text "uncaught exception in the command of the "
    failed_generator.pretty_print(pp)
    pp.text " (#{self.class})"
end