PxErrorCode

Defined in include/foundation/PxErrors.h

struct PxErrorCode

Error codes.

These error codes are passed to PxErrorCallback

See also

PxErrorCallback

Public Types

enum Enum

Values:

enumerator eNO_ERROR
enumerator eDEBUG_INFO

An informational message.

enumerator eDEBUG_WARNING

a warning message for the user to help with debugging

enumerator eINVALID_PARAMETER

method called with invalid parameter(s)

enumerator eINVALID_OPERATION

method was called at a time when an operation is not possible

enumerator eOUT_OF_MEMORY

method failed to allocate some memory

enumerator eINTERNAL_ERROR

The library failed for some reason.

Possibly you have passed invalid values like NaNs, which are not checked for.

enumerator eABORT

An unrecoverable error, execution should be halted and log output flushed.

enumerator ePERF_WARNING

The SDK has determined that an operation may result in poor performance.

enumerator eMASK_ALL

A bit mask for including all errors.