benchling_sdk.apps.canvas.errors module

exception DuplicateBlockIdError

Bases: Exception

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

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.