Exception: Roby::InternalTaskError
- Inherits:
-
LocalizedError
- Object
- RuntimeError
- ExceptionBase
- LocalizedError
- Roby::InternalTaskError
- Defined in:
- lib/roby/standard_errors.rb
Overview
Errors that are generated inside a task
Task defines an exception handler that transforms some plan exceptions in task-level “events”, to allow for event-based error handling for these. The handler will only listen to errors of type InternalTaskError or one of its subclasses.
For instance, an exception raised in the command block of the start event will generate an EmissionFailed error that point to that event, and this handler will turn this into a failure to start the task (which in turn makes all events unreachable and will trigger dependency errors if applicable)
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from LocalizedError
#failed_event, #failed_generator, #failed_task, #failure_point
Attributes inherited from ExceptionBase
Method Summary
Methods inherited from LocalizedError
#fatal?, #initialize, #involved_plan_object?, match, #pretty_print, #propagated?, #to_execution_exception, to_execution_exception_matcher
Methods included from DRoby::V5::LocalizedErrorDumper
Methods inherited from ExceptionBase
#each_original_exception, #initialize, #report_exceptions_from
Methods included from DRoby::V5::ExceptionBaseDumper
Methods included from DRoby::V5::Builtins::ExceptionDumper
Constructor Details
This class inherits a constructor from Roby::LocalizedError