DesktopErrorCategory enum

Namespace Runic.Desktop · Runic.Desktop 0.7.0-preview.5

public enum DesktopErrorCategory

Identifies a stable presentation-boundary error category.

Remarks

The categories match the language-neutral Desktop presentation-host contract.

Values

InvalidArgument

InvalidArgument = 0

An argument or configuration value is invalid.

InvalidState

InvalidState = 1

The operation is not valid in the object's current state.

InvalidFrame

InvalidFrame = 2

A frame or structured payload is malformed.

LimitExceeded

LimitExceeded = 3

A size, depth, count, or other configured limit was exceeded.

AuthenticationDenied

AuthenticationDenied = 4

The session credential is missing or not valid for the surface.

OriginDenied

OriginDenied = 5

The requesting origin is not admitted by the surface security policy.

CapabilityDenied

CapabilityDenied = 6

The capability or window option is not admitted or not supported.

NotFound

NotFound = 7

The requested resource does not exist.

Conflict

Conflict = 8

The operation conflicts with existing state.

Cancelled

Cancelled = 9

The operation was cancelled before it completed.

TimedOut

TimedOut = 10

The operation did not complete within its deadline.

TransportClosed

TransportClosed = 11

The presentation session transport closed before the operation completed.

HostStopping

HostStopping = 12

The Desktop host is stopping and no longer accepts the operation.

Unavailable

Unavailable = 13

The presentation, window host, or capability is not available.

OperationFailed

OperationFailed = 14

The operation failed for a reason the caller cannot correct; details are redacted.