Skip to content

NoActiveEnvironmentFoundError

Bases: Exception

Variable or Expression created without an environment (or context).

Raised when a variable or expression is created without an active environment context.

This typically happens when not using with Environment(): ... and no environment was explicitly provided.

__str__

__str__() -> str