API reference
API reference
Select your platform
No SDKs available
No versions available

FOvrError Struct

It represents an error response from the server. It contains error information such as the error code, http status code, technical message, and displayable message. It's used whenever the server needs to communicate an error or failure to the client.

Constructors

FOvrError ()
This is the default constructor for the struct, which initializes the ::ovrErrorHandle and TOvrMessageHandlePtr to their default values.
Signature
FOvrError::FOvrError()
FOvrError ( OvrHandle , MessageHandlePtr )
Copying values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
FOvrError::FOvrError(ovrErrorHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrErrorHandle
MessageHandlePtr: TOvrMessageHandlePtr

Fields

Code : int32
It's a type of integer that represents the error code:
UNKNOWN_ERROR:1
AUTHENTICATION_ERROR:2
NETWORK_ERROR:3
STORE_INSTALLATION_ERROR:4
CALLER_NOT_SIGNED:5
UNKNOWN_SERVER_ERROR:6
PERMISSIONS_FAILURE:7
Signature
int32 FOvrError::Code
DisplayableMessage : FString
Human readable description of the error that can be displayed to the user. Might be the empty string if there is no user-appropriate description available. Not intended to be parsed as it might change at any time or be translated.
Signature
FString FOvrError::DisplayableMessage
HttpCode : int32
It contains the HTTP status code for the error. More information about the http code can be found here.
Signature
int32 FOvrError::HttpCode
Message : FString
Technical description of what went wrong intended for developers. For use in logs or developer consoles.
Signature
FString FOvrError::Message

Member Functions

Clear ()
Setting all values to their defaults, effectively clearing the struct.
Signature
void FOvrError::Clear()
Returns
void
Update ( OvrHandle , MessageHandlePtr )
Updating values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
void FOvrError::Update(ovrErrorHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrErrorHandle
MessageHandlePtr: TOvrMessageHandlePtr
Returns
void