benchling_sdk.apps.canvas.errors module

exception DuplicateBlockIdError

Bases: Exception

Error indicating that duplicate ids were present on blocks within a Canvas.

exception MissingResourceIdError

Bases: Exception

Error indicating that a resource ID was expected to be present for the operation.

exception NoMatchingBlocksError

Bases: Exception

Error indicating that blocks were expected, but none matched.

Used to prevent requiring developers to handle Optional[_UiBlock] for type safety.