Internal
Should not be instantiated by the user.
Readonly
currentThe environment that was attempted to be used.
Readonly
expectedThe environments that are valid for the operation.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackStatic
capture
An exception thrown when certain operations are attempted in a DataAPIEnvironment that is not valid.
Field
currentEnvironment - The environment that was attempted to be used
Field
expectedEnvironments - The environments that are valid for the operation