Exception: Roby::MissionFailedError

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

Overview

Exception raised when a mission has failed

Instance Attribute Summary

Attributes inherited from ToplevelTaskError

#reason

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 ToplevelTaskError

#initialize, #propagated?

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::ToplevelTaskError

Instance Method Details

#pretty_print(pp) ⇒ Object



548
549
550
551
552
553
# File 'lib/roby/standard_errors.rb', line 548

def pretty_print(pp)
    pp.text "mission failed: "
    failed_task.pretty_print(pp)
    pp.breakable
    super(pp)
end