Exception: Roby::InternalTaskError

Inherits:
LocalizedError show all
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

CodeError

Instance Attribute Summary

Attributes inherited from LocalizedError

#failed_event, #failed_generator, #failed_task, #failure_point

Attributes inherited from ExceptionBase

#original_exceptions

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

#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::LocalizedError