variable_in_use_error
Stable error · Editing
Tier: stable · Kind: error · Topic: Editing
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
| not exported | VariableInUseError | not exported | not exported | VariableInUseError |
Julia
Julia does not export this error.
TypeScript
class VariableInUseError extends EsmDiagnosticError
new VariableInUseError(variableName: string, references: string[]): VariableInUseError
Error thrown when attempting to remove a variable that is still referenced
Python
Python does not export this error.
Rust
Rust does not export this error.
Go
type VariableInUseError struct {
EditError
VariableName string
References []string
}
VariableInUseError reports an attempt to remove a name that is still referenced. References lists the sites, in discovery order, using the same human-readable labels the TypeScript binding emits. Mirrors TypeScript’s VariableInUseError.