WarningCodes

String constants for the Code field emitted during RestoreFromJson(string, RecoveryMode, ResolutionPolicy). Use these constants to inspect specific warning types in Warnings rather than comparing raw strings.

public static class WarningCodes

Inheritance System.Object → WarningCodes

Fields

ProjectVersionMismatch Field

The project version string at restore time differs from the one recorded in the save.

public const string ProjectVersionMismatch = "replay.project_version_mismatch";
Field Value

System.String

StepUnresolved Field

A commit entry could not be resolved and was skipped (only under BestEffort).

public const string StepUnresolved = "replay.step_unresolved";
Field Value

System.String

UuidResolvedById Field

A commit entry’s uuid was not found; the node was resolved by its human-readable id instead (only under Lenient).

public const string UuidResolvedById = "replay.uuid_resolved_by_id";
Field Value

System.String

ValidatorLogOverrun Field

The validator log had more entries than expected — extra validated writes were ignored.

public const string ValidatorLogOverrun = "replay.validator_log_overrun";
Field Value

System.String

ValidatorLogUnderrun Field

The validator log had fewer entries than expected — some validated writes were not available for replay.

public const string ValidatorLogUnderrun = "replay.validator_log_underrun";
Field Value

System.String

VarNewlyBridged Field

A variable that was internal at save time is now accessible (bridged out); the saved value was applied.

public const string VarNewlyBridged = "replay.var_newly_bridged";
Field Value

System.String

VarNewlyInternal Field

A variable that was accessible at save time is now internal; the saved value was ignored.

public const string VarNewlyInternal = "replay.var_newly_internal";
Field Value

System.String

VarTypeChanged Field

A variable’s type has changed between save and restore; the saved value was coerced or discarded.

public const string VarTypeChanged = "replay.var_type_changed";
Field Value

System.String

VarUnknown Field

A variable present in the initial-var snapshot is not known to the current project.

public const string VarUnknown = "replay.var_unknown";
Field Value

System.String

Docs last synced: 2026-07-08
Screenshot viewer