Skip to main content
Version: Dev (main)

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​

NameValueDescription
Success0
Unclassified1
NotImplemented4
ArgumentNotSupported5
Timeout6
LogicError7A 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.
GuiPanelChangeNotPermitted304
GuiPanelInvalidId305
GuiPanelDisplayNameInvalid306A 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.
PanelContentBundleRefused340A content bundle name was refused: 1 to 64 characters of A-Z, a-z, 0-9, '.', '_' and '-', not starting with '.'.
PanelContentPathRefused341A bundle path was refused: not relative, holding '..', a backslash, ':', '%' or a control character, or a link in a published folder.
PanelContentMimeRefused342A bundle file's extension is not served, or its declared MIME type does not match it.
PanelContentSizeRefused343A bundle file is larger than 16 MiB, the bundle larger than 64 MiB, or it holds no file or more than 1024.
PanelContentNotPublisher344The bundle was published by another session; only its publisher may assign, remove or message it.
PanelContentNotFound345This session publishes no bundle of that name, or the folder to publish does not exist.
PanelContentMessageRefused346A panel message is not one JSON value or is larger than 64 KiB.
AppVolumeInvalidId325
AppVolumeGestureConfigurationInvalid326A gesture configuration was refused because a rule in it could never work. The volume keeps its previous configuration; the message names the rule.
AppVolumeGestureModeUnknown327A gesture mode was named that the volume does not define. Nothing was changed.
MediaStreamingStreamIsPaused602The receiver paused this stream (its display is not visible); keep the sender and try again later.
MediaStreamingStreamIsReconnecting603
MediaStreamingNoActiveTransfers604
MediaStreamingDestinationReservationFailed605
MediaStreamingSendPipelineFailed606
MediaStreamingLayoutChangeFailed607
MediaStreamingDeviceOnAnotherAdapter609The 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.
GraphicsDeviceNotInitialized610The 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.
RenderingProducerMissingPoseData801No 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.
RenderingProducerUnableToDoBeginFrame803
RenderingProducerStreamIsClosed804
RenderingProducerAppVolumeUnresolved805The 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.
RenderingProducerDepthFormatNotSupported806A render sender's depth format is not one its graphics API accepts. Nothing was created; the message lists the accepted formats.
RenderingProducerExternalDeviceNotSupported807The 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.
PakeError1600Code-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.
OnboardingSessionNotFound1800No persisted state for the onboarding id; fall back to a full onboard.
OnboardingFailed1801Generic onboarding failure; the message has details.
OnboardingHubUnreachable1802Discovery could not reach a hub; verify the hub is running (and the host/port) and retry.
OnboardingSessionStillActive1803Forget was called while the slot still has an active session; dispose the session first.
OnboardingApprovalDenied1805Local app onboarding: the user denied the app in the QAROS hub, or revoked its approval. Stop and tell the user.
OnboardingApprovalTimeout1806Local app onboarding: nobody answered the approval prompt in time. Offer a retry.
OnboardingHubNotAuthentic1807Local app onboarding: the process serving the enrollment pipe is not the installed QAROS hub. Stop; do not retry silently.
OnboardingAppIdentityMismatch1808Local app onboarding: the app no longer matches what the user approved (moved, re-signed, tampered). Ask the user to re-approve it.
OnboardingRePairRequired1809The 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.
OnboardingRenewalPossessionUnproven1810The 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.
OnboardingInviteRefused1812The 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.
HubTargetAppDeviceNotInvitable3100The 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.
PeerDeviceCategoryNotAllowed3101A 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.
HubTargetAppNotHosted3103A 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.
HubLifecycleOperationRunning3300The hub is in the middle of another session-wide operation (a session rotation, a member join, a leave). Retry once it has finished.
MemberJoinPending3400Member join: the primary hub has the join request and waits for its operator to allow it. Not a failure; ask again later.
MemberJoinDenied3401Member join: the primary hub's operator denied the join request.
MemberJoinRefused3402Member 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.
MemberJoinRedirected3403Member join: the asked hub is itself a member of another hub; ask that primary hub instead.
MemberRemoved3404Member join: the primary hub removed this member hub; it has to join again.
PrimaryUnreachable3405A member hub could not reach its primary hub.
SessionWideActionOnMember3406A session-wide action was asked of a member hub; only the primary hub performs it.
MemberSponsorNotAllowed3407Member-hub invitation: the app's approval on the primary hub does not allow it to bring in member hubs.
MemberSponsorQuotaExceeded3408Member-hub invitation: the app's approval has used its quota of member hubs.
AuditLogCorrupt3409A hub's audit log does not verify: a record was edited, dropped or reordered.
SecureStorageError3500Secure storage: the encrypted store failed for a reason the codes below do not name.
SecureStorageNotFound3501Secure storage: the value asked for is not stored.
SecureStorageTampered3502Secure storage: a stored value does not authenticate; it was edited, moved or replaced by an older copy.
SecureStorageProtectorMismatch3503Secure storage: the data is protected by a key this machine, user or install does not have. Onboard again.
SecureStorageProtectorUnavailable3504Secure storage: the protecting key exists but cannot be used now (TPM cleared or locked out, keyring locked).
SecureStorageInvalidKey3505Secure storage: an invalid storage key (an internal error).
SecureStorageLocked3506Secure storage: another process held the store's lock too long. Retrying may succeed.
MemberInvitationInvalid3600Member-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.
MemberInvitationExpired3601Member-hub invitation: it has expired. Ask for a new one.
MemberInvitationUsedUp3602Member-hub invitation: it was used as often as it allows.
MemberInvitationRevoked3603Member-hub invitation: the primary hub's operator revoked it.
MemberInvitationPrimaryNotAllowed3604Member-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).
MemberInvitationPolicyNotProtected3605Member-hub invitation: this PC's member-invitation policy can be written by a non-administrator, so every invitation is refused.