EnvSwitchLockedException class

Thrown when Env.switchTo or EnvManager.switchTo is called while the current environment is included in the lockedEnvironments set.

A locked environment prevents switching away from it entirely — both programmatic calls and the debug panel UI respect this guard.

Implemented types

Constructors

EnvSwitchLockedException(String envName)
Creates an EnvSwitchLockedException for the given envName.
const

Properties

envName String
The name of the locked environment that blocked the switch.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited