errors
errors
#
Errors raised by the authoring surface.
These are the only exceptions the recorder raises for authoring mistakes (as
opposed to a node's own construction-time type error, which is a plain
TypeError).
AlreadyAssignedError
#
Bases: AuthoringError
Raised when the same path is cached more than once in one procedure.
AuthoringError
#
Bases: RuntimeError
Raised for misuse of the authoring surface.
The base for every recorder-specific error — e.g. constructing a node with no surrounding ProcedureContext.
Source code in capturegraph-lib/capturegraph/procedures/procedure/authoring/errors.py
UncaughtDataError
#
Bases: AuthoringError
Raised when a step produces a value that is never stored or consumed.
Every leftover root of a context must be a side effect (return Void). A
bare cg.CaptureImage() that is neither cached with |= / &= nor
passed to another node leaves its value dangling — that is this error.