Tilt Five NDK  1.4.1
Tilt Fiveā„¢ Error Codes (C++)

Common error codes for all C++ functions. More...

Enumerations

enum class  tiltfive::Error {
  Error::kSuccess = T5_SUCCESS , Error::kTimeout = T5_TIMEOUT , Error::kNoContext = T5_ERROR_NO_CONTEXT , Error::kLibraryUnavailable = T5_ERROR_NO_LIBRARY ,
  Error::kInternalError = T5_ERROR_INTERNAL , Error::kNoService = T5_ERROR_NO_SERVICE , Error::kIoFailure = T5_ERROR_IO_FAILURE , Error::kRequestIdUnknown = T5_ERROR_REQUEST_ID_UNKNOWN ,
  Error::kInvalidArgument = T5_ERROR_INVALID_ARGS , Error::kDeviceLost = T5_ERROR_DEVICE_LOST , Error::kTargetNotFound = T5_ERROR_TARGET_NOT_FOUND , Error::kInvalidState = T5_ERROR_INVALID_STATE ,
  Error::kSettingUnknown = T5_ERROR_SETTING_UNKNOWN , Error::kSettingWrongType = T5_ERROR_SETTING_WRONG_TYPE , Error::kMiscRemote = T5_ERROR_MISC_REMOTE , Error::kOverflow = T5_ERROR_OVERFLOW ,
  Error::kGfxApiUnavailable = T5_ERROR_GRAPHICS_API_UNAVAILABLE , Error::kUnsupported = T5_ERROR_UNSUPPORTED , Error::kDecodeError = T5_ERROR_DECODE_ERROR , Error::kInvalidGfxContext = T5_ERROR_INVALID_GFX_CONTEXT ,
  Error::kGfxContextInitFail = T5_ERROR_GFX_CONTEXT_INIT_FAIL , Error::kTryAgain = T5_ERROR_TRY_AGAIN , Error::kUnavailable = T5_ERROR_UNAVAILABLE , Error::kAlreadyConnected = T5_ERROR_ALREADY_CONNECTED ,
  Error::kNotConnected = T5_ERROR_NOT_CONNECTED , Error::kStringOverflow = T5_ERROR_STRING_OVERFLOW , Error::kServiceIncompatible = T5_ERROR_SERVICE_INCOMPATIBLE , Error::kPermissionDenied = T5_PERMISSION_DENIED ,
  Error::kInvalidBuffer = T5_ERROR_INVALID_BUFFER_SIZE , Error::kInvalidGeometry = T5_ERROR_INVALID_GEOMETRY
}
 Error codes returned by most functions of return type Result. More...
 

Detailed Description

Common error codes for all C++ functions.

Enumeration Type Documentation

◆ Error

enum class tiltfive::Error
strong

Error codes returned by most functions of return type Result.

Enumerator
kSuccess 

Success.

kTimeout 

Timeout.

kNoContext 

No context.

Some functions require either a T5_Context or a T5_Glasses. This error is returned if an invalid object is passed.

kLibraryUnavailable 

Library Unavailable.

kInternalError 

An internal error occurred.

kNoService 

Service isn't connected.

kIoFailure 

Misc IO failure.

kRequestIdUnknown 

Service doesn't understand the request.

kInvalidArgument 

Argument(s) are invalid.

kDeviceLost 

Device lost.

kTargetNotFound 

Target (wand) not found.

kInvalidState 

Incorrect state for the request.

kSettingUnknown 

The requested param is unknown.

kSettingWrongType 

The requested param has a different type to the requested type.

kMiscRemote 

Miscellaneous remote error.

kOverflow 

Buffer overflow.

kGfxApiUnavailable 

Specified graphics API is unavailable.

kUnsupported 

Action is unsupported.

kDecodeError 

Failed to decode.

kInvalidGfxContext 

Graphics context is invalid.

kGfxContextInitFail 

Failed to initialize graphics context.

kTryAgain 

Target is temporarily unavailable.

kUnavailable 

Target is unavailable.

kAlreadyConnected 

Target is already connected.

kNotConnected 

Target is not connected.

kStringOverflow 

String overflow.

kServiceIncompatible 

Service incompatible.

kPermissionDenied 

Permission denied.

kInvalidBuffer 

Invalid buffer size.

kInvalidGeometry 

Invalid geometry.

Definition at line 37 of file errors.hpp.