Raised when a dynamic node fails. Caught by the parent node's NodeRunner to propagate the error.
| 46 | |
| 47 | |
| 48 | class DynamicNodeFailError(Exception): |
| 49 | """Raised when a dynamic node fails. |
| 50 | |
| 51 | Caught by the parent node's NodeRunner to propagate the error. |
| 52 | """ |
| 53 | |
| 54 | def __init__( |
| 55 | self, *, message: str, error: Exception, error_node_path: str |
| 56 | ) -> None: |
| 57 | self.error = error |
| 58 | self.error_node_path = error_node_path |
| 59 | super().__init__(message) |