StatusCode enum
Status codes the C API exposes (QarStatusCode), with the same values.
Any internal code outside this set reaches callers as
StatusCode.Unclassified.
Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll
public enum StatusCode
Values
| Name | Value | Description |
|---|---|---|
Success | 0 | |
Unclassified | 1 | |
NotImplemented | 4 | |
ArgumentNotSupported | 5 | |
Timeout | 6 | |
LogicError | 7 | A programming error, such as an invalid handle or a missing required argument; the binding also reports a native call that succeeded without its output this way. |
GuiPanelChangeNotPermitted | 304 | |
GuiPanelInvalidId | 305 | |
GuiPanelDisplayNameInvalid | 306 | A GUI panel display name was refused: more than 64 characters (Unicode code points), not valid UTF-8, or holding a control or bidirectional formatting character. The panel keeps its previous name. |
PanelContentBundleRefused | 340 | A content bundle name was refused: 1 to 64 characters of A-Z, a-z, 0-9, '.', '_' and '-', not starting with '.'. |
PanelContentPathRefused | 341 | A bundle path was refused: not relative, holding '..', a backslash, ':', '%' or a control character, or a link in a published folder. |
PanelContentMimeRefused | 342 | A bundle file's extension is not served, or its declared MIME type does not match it. |
PanelContentSizeRefused | 343 | A bundle file is larger than 16 MiB, the bundle larger than 64 MiB, or it holds no file or more than 1024. |
PanelContentNotPublisher | 344 | The bundle was published by another session; only its publisher may assign, remove or message it. |
PanelContentNotFound | 345 | This session publishes no bundle of that name, or the folder to publish does not exist. |
PanelContentMessageRefused | 346 | A panel message is not one JSON value or is larger than 64 KiB. |
AppVolumeInvalidId | 325 | |
AppVolumeGestureConfigurationInvalid | 326 | A gesture configuration was refused because a rule in it could never work. The volume keeps its previous configuration; the message names the rule. |
AppVolumeGestureModeUnknown | 327 | A gesture mode was named that the volume does not define. Nothing was changed. |
MediaStreamingStreamIsPaused | 602 | The receiver paused this stream (its display is not visible); keep the sender and try again later. |
MediaStreamingStreamIsReconnecting | 603 | |
MediaStreamingNoActiveTransfers | 604 | |
MediaStreamingDestinationReservationFailed | 605 | |
MediaStreamingSendPipelineFailed | 606 | |
MediaStreamingLayoutChangeFailed | 607 | |
MediaStreamingDeviceOnAnotherAdapter | 609 | The application's own graphics device (StreamParamsVulkan, or the D3D11 device it handed a sender or receiver) is on another GPU than the session's. Nothing was created; the message names both adapters. Create the device on the adapter Session.GetGraphicsDeviceId reports. |
GraphicsDeviceNotInitialized | 610 | The session was created without a graphics device (OnboardOptions.WithoutGraphicsDevice), so it streams no media and reports no adapter. Nothing was created. Onboard without the option to stream. |
RenderingProducerMissingPoseData | 801 | No head pose has arrived from the viewer yet, so there is no pose to render with. Recoverable: RenderSender.NextRenderPose succeeds once the viewer's first pose is in. |
RenderingProducerUnableToDoBeginFrame | 803 | |
RenderingProducerStreamIsClosed | 804 | |
RenderingProducerAppVolumeUnresolved | 805 | The render sender's app volume does not resolve - it is not known to this session yet, or it was removed - so app content space is undefined and no frame was begun. Nothing is handed out in room space instead. Recoverable: keep calling begin-frame, it succeeds once the volume resolves. A volume that was removed never does; recreate it. |
RenderingProducerDepthFormatNotSupported | 806 | A render sender's depth format is not one its graphics API accepts. Nothing was created; the message lists the accepted formats. |
RenderingProducerExternalDeviceNotSupported | 807 | The device in a Vulkan render sender's StreamParamsVulkan was created without the external memory and semaphore extensions sharing its images needs. Nothing was created; the message names what is missing. |
PakeError | 1600 | Code-based onboarding handshake rejected, expired or timed out: a wrong, spent or expired code, or a code that is no device pairing code (a hub join code). Retry with a fresh code. |
OnboardingSessionNotFound | 1800 | No persisted state for the onboarding id; fall back to a full onboard. |
OnboardingFailed | 1801 | Generic onboarding failure; the message has details. |
OnboardingHubUnreachable | 1802 | Discovery could not reach a hub; verify the hub is running (and the host/port) and retry. |
OnboardingSessionStillActive | 1803 | Forget was called while the slot still has an active session; dispose the session first. |
OnboardingApprovalDenied | 1805 | Local app onboarding: the user denied the app in the QAROS hub, or revoked its approval. Stop and tell the user. |
OnboardingApprovalTimeout | 1806 | Local app onboarding: nobody answered the approval prompt in time. Offer a retry. |
OnboardingHubNotAuthentic | 1807 | Local app onboarding: the process serving the enrollment pipe is not the installed QAROS hub. Stop; do not retry silently. |
OnboardingAppIdentityMismatch | 1808 | Local app onboarding: the app no longer matches what the user approved (moved, re-signed, tampered). Ask the user to re-approve it. |
OnboardingRePairRequired | 1809 | The device's certificate expired or its hub no longer renews it, and the pairing credential did not replace it. Ask the user to pair the device again with a new code. |
OnboardingRenewalPossessionUnproven | 1810 | The hub refused to renew the certificate: the renewal did not prove it holds the key of the certificate it renews. This SDK makes the proof itself, so the stored identity is damaged: pair the device again. An SDK older than the hub cannot renew there; update the app or device, pairing again is not enough. |
OnboardingInviteRefused | 1812 | The hub refused Session.RequestOnboardingInvite: it mints a co-process invite only for a local app it enrolled on its own PC or a process its launcher started. A device, or an app that joined with a code or an invite, gets none. Final; nothing was minted. |
HubTargetAppDeviceNotInvitable | 3100 | The hub has no target app it can launch for the device family the connection string names. Nothing was invited; which devices can be invited is the hub's decision. |
PeerDeviceCategoryNotAllowed | 3101 | A PeerDeviceIdentity declared a category an application may not claim. An application is always a source and may describe itself only as DeviceCategory.DesktopPC, DeviceCategory.Server or DeviceCategory.Camera. Nothing was changed. |
HubTargetAppNotHosted | 3103 | A request to stop or remove a target app reached the hub on this machine, but that hub did not start it or issue its certificate: it belongs to another hub, or is already gone. Nothing was changed. |
HubLifecycleOperationRunning | 3300 | The hub is in the middle of another session-wide operation (a session rotation, a member join, a leave). Retry once it has finished. |
MemberJoinPending | 3400 | Member join: the primary hub has the join request and waits for its operator to allow it. Not a failure; ask again later. |
MemberJoinDenied | 3401 | Member join: the primary hub's operator denied the join request. |
MemberJoinRefused | 3402 | Member join: the primary hub refused the join request outright, for example because the joining hub hosts members of its own. The message names the reason. |
MemberJoinRedirected | 3403 | Member join: the asked hub is itself a member of another hub; ask that primary hub instead. |
MemberRemoved | 3404 | Member join: the primary hub removed this member hub; it has to join again. |
PrimaryUnreachable | 3405 | A member hub could not reach its primary hub. |
SessionWideActionOnMember | 3406 | A session-wide action was asked of a member hub; only the primary hub performs it. |
MemberSponsorNotAllowed | 3407 | Member-hub invitation: the app's approval on the primary hub does not allow it to bring in member hubs. |
MemberSponsorQuotaExceeded | 3408 | Member-hub invitation: the app's approval has used its quota of member hubs. |
AuditLogCorrupt | 3409 | A hub's audit log does not verify: a record was edited, dropped or reordered. |
SecureStorageError | 3500 | Secure storage: the encrypted store failed for a reason the codes below do not name. |
SecureStorageNotFound | 3501 | Secure storage: the value asked for is not stored. |
SecureStorageTampered | 3502 | Secure storage: a stored value does not authenticate; it was edited, moved or replaced by an older copy. |
SecureStorageProtectorMismatch | 3503 | Secure storage: the data is protected by a key this machine, user or install does not have. Onboard again. |
SecureStorageProtectorUnavailable | 3504 | Secure storage: the protecting key exists but cannot be used now (TPM cleared or locked out, keyring locked). |
SecureStorageInvalidKey | 3505 | Secure storage: an invalid storage key (an internal error). |
SecureStorageLocked | 3506 | Secure storage: another process held the store's lock too long. Retrying may succeed. |
MemberInvitationInvalid | 3600 | Member-hub invitation: it does not parse, its signature, kind or version is wrong, or the primary hub does not know it or judged its proof invalid. |
MemberInvitationExpired | 3601 | Member-hub invitation: it has expired. Ask for a new one. |
MemberInvitationUsedUp | 3602 | Member-hub invitation: it was used as often as it allows. |
MemberInvitationRevoked | 3603 | Member-hub invitation: the primary hub's operator revoked it. |
MemberInvitationPrimaryNotAllowed | 3604 | Member-hub invitation: this PC does not trust its primary hub (not in the administrator's allow-list, or not the primary this PC's hub joined first). |
MemberInvitationPolicyNotProtected | 3605 | Member-hub invitation: this PC's member-invitation policy can be written by a non-administrator, so every invitation is refused. |