Exception: Roby::PermanentTaskError

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

Overview

Exception raised when a permanent task 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

#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

#fatal?Boolean

Returns:

  • (Boolean)


558
559
560
# File 'lib/roby/standard_errors.rb', line 558

def fatal?
    false
end

#pretty_print(pp) ⇒ Object



562
563
564
565
566
567
# File 'lib/roby/standard_errors.rb', line 562

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