Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DuplicateVarError

This error represents the condition where an environment variable was registered twice, indicating a conflict.

Example

Environment.register("key1", "val");
Environment.register("key2", "val2"); // Throws error

Hierarchy

  • Error
    • DuplicateVarError

Index

Constructors

Properties

Constructors

constructor

Properties

key

key: string

The environment key in conflict

message

message: string

name

name: string

newValue

newValue: any

The new default value

Optional stack

stack: string

value

value: any

The current default value that was set

Static Error

Error: ErrorConstructor

Generated using TypeDoc