legate.core.TaskContext.can_raise_exception#
- TaskContext.can_raise_exception(self) bool#
Get whether a task is allowed to raise exceptions.
If a task is not allowed to raise an exception, but still raises one, the runtime will print the exception and promptly abort.
- Returns:
Trueif this task may raise exceptions,Falseotherwise.- Return type: