Operation Results
Most operations through the IPC are structured, and return SnowcloakOperationResult:
| Property | Meaning |
|---|---|
Success | Whether the operation reached a successful or unchanged outcome. Inspect Code for the precise result. |
Code | Machine-readable SnowcloakOperationCode. |
Reason | Human-readable diagnostic reason, when present. |
Revision | New or current local extension-data revision when applicable; otherwise null. |
| Code | Meaning |
|---|---|
Success | The requested operation succeeded. |
Unchanged | The requested value already matched current state. |
PermissionDenied | The required permission is not granted. |
NotRegistered | This wrapper load does not own a current registration. |
InvalidArgument | An argument failed validation. |
NotFound | A requested pair, object or file could not be found. |
InvalidState | Snowcloak cannot perform the operation in the current state. |
LimitExceeded | Extension data exceeded its assigned slot. |
Failed | The operation started or was attempted but failed. |
Reason is suitable for diagnostics, but should not be parsed for control flows due to variability.