Skip to content

VariablesFromDifferentEnvsError

Bases: Exception

Raised when multiple variables from different environments are used together.

All variables in an expression or constraint must belong to the same Environment. Mixing across environments is disallowed to ensure consistency.

__str__

__str__() -> str