Skip to main content

Operation Results

Most operations through the IPC are structured, and return SnowcloakOperationResult:

PropertyMeaning
SuccessWhether the operation reached a successful or unchanged outcome. Inspect Code for the precise result.
CodeMachine-readable SnowcloakOperationCode.
ReasonHuman-readable diagnostic reason, when present.
RevisionNew or current local extension-data revision when applicable; otherwise null.
CodeMeaning
SuccessThe requested operation succeeded.
UnchangedThe requested value already matched current state.
PermissionDeniedThe required permission is not granted.
NotRegisteredThis wrapper load does not own a current registration.
InvalidArgumentAn argument failed validation.
NotFoundA requested pair, object or file could not be found.
InvalidStateSnowcloak cannot perform the operation in the current state.
LimitExceededExtension data exceeded its assigned slot.
FailedThe operation started or was attempted but failed.

Reason is suitable for diagnostics, but should not be parsed for control flows due to variability.