Skip to content

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).

  • Error
new SnapshotProtectedError(version, reason): SnapshotProtectedError;

Defined in: core.ts:159

Parameter Type
version string
reason "active" | "latest"

SnapshotProtectedError

Error.constructor