public enum PlatformFailureCode A classified operational failure, without exposing paths or native handles.
Remarks
This set is open: a minor release may add codes, so handle unknown values, for example as PlatformFailureCode.Other. Zero is never a real failure: PlatformFailureCode.Unknown is only the default value, and no provider reports it.
Values
Unknown
Unknown = 0 No code; the default value. Runic never reports it.
PermissionDenied
PermissionDenied = 1 The operation was denied access.
ResourceBusy
ResourceBusy = 2 A conflicting operation or another process holds the resource.
InvalidData
InvalidData = 3 The supplied or native data is invalid.
TooLarge
TooLarge = 4 The content exceeds the requested limit.
IOError
IOError = 5 An input/output operation failed.
Conflict
Conflict = 6 The destination changed since acquisition.
UserDismissed
UserDismissed = 7 The user dismissed a native interactive operation.
Locked
Locked = 8 The store is locked and could not ask the user to unlock it.
NotFound
NotFound = 9 The file or directory does not exist.
Other
Other = 10 A failure that no other code describes, such as an unclassified native error; the PlatformDiagnostic carries the native detail.