SnapshotProtectedError
Defined in: core.ts:158
Thrown by FlagsCore.deleteSnapshot when the target is protected: the
active version (the runtime serves it) or the latest version (deleting
it would let nextVersion mint the same version string again).
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SnapshotProtectedError(version, reason): SnapshotProtectedError;Defined in: core.ts:159
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
version |
string |
reason |
"active" | "latest" |
Returns
Section titled “Returns”SnapshotProtectedError
Overrides
Section titled “Overrides”Error.constructor