Error Codes

A zero indicates successful completion and a non-zero value indicates an error.

Error Codes

Code Name / Description
0 AW_FACE_CAPTURE_E_NO_ERRORS
  No errors or warnings.
   
1 AW_FACE_CAPTURE_E_INTERNAL_ERROR
  An internal error occurred.
   
2 AW_FACE_CAPTURE_E_NULL_FACE_CAPTURE_OBJ
  The Face Capture object was NULL.
   
3 AW_FACE_CAPTURE_E_TRIAL_EXPIRATION_PASSED
  The trial expiration has passed.
   
100 AW_FACE_CAPTURE_E_OUT_OF_MEMORY
  The library failed to allocate memory.
   
101 AW_FACE_CAPTURE_E_INITIALIZATION_FAILED
  Could not initialize the Face Capture library or a required component.
   
200 AW_FACE_CAPTURE_E_INVALID_WORKFLOW
  Invalid workflow object.
   
201 AW_FACE_CAPTURE_E_UNKNOWN_WORKFLOW
  No workflow exists with the given name.
   
202 AW_FACE_CAPTURE_E_WORKFLOW_IN_USE
  Workflows cannot be modified while a capture session is in progress.
   
203 AW_FACE_CAPTURE_E_INVALID_PACKAGE_TYPE
  Invalid package type.
   
250 AW_FACE_CAPTURE_E_INVALID_WORKFLOW_PROPERTY
  Invalid workflow property.
   
251 AW_FACE_CAPTURE_E_WORKFLOW_PROPERTY_TYPE_MISMATCH
  The specified value is the wrong type for the specified property.
   
252 AW_FACE_CAPTURE_E_INVALID_PROPERTY_VALUE
  The specified value is not valid for the specified property.
   
300 AW_FACE_CAPTURE_E_INVALID_CAMERA
  Invalid camera object.
   
301 AW_FACE_CAPTURE_E_UNKNOWN_CAMERA
  No camera exists with the given name.
   
302 AW_FACE_CAPTURE_E_CAMERA_IN_USE
  Cameras cannot be modified while a capture session is in progress.
   
303 AW_FACE_CAPTURE_E_CAMERA_INITIALIZATION
  Camera could not be initialized.
   
304 AW_FACE_CAPTURE_E_NO_INITIALIZABLE_CAMERAS
  No initializable cameras detected.
   
305 AW_FACE_CAPTURE_E_INVALID_CAMERA_POSITION
  The camera position specified was an invalid value.
   
306 AW_FACE_CAPTURE_E_INVALID_CAMERA_ORIENTATION
  The camera orientation specified was an invalid value.
   
350 AW_FACE_CAPTURE_E_INVALID_CAPTURE_STATE
  Invalid capture state object.
   
351 AW_FACE_CAPTURE_E_NO_FRAME_AVAILABLE
  No frame data is available in the capture state object.
   
400 AW_FACE_CAPTURE_E_CAPTURE_IN_PROGRESS
  A capture session is already in progress.
   
401 AW_FACE_CAPTURE_E_CAPTURE_SESSION_UNAVAILABLE
  The last capture session for the specified Workflow was aborted.
   
405 AW_FACE_CAPTURE_E_NO_CAPTURE_PROFILE
  Cannot start capture session. No capture profile was specified by the Workflow.
   
406 AW_FACE_CAPTURE_E_INVALID_CAPTURE_PROFILE
  Cannot start capture session. The capture profile set in the Workflow was invalid.
   
407 AW_FACE_CAPTURE_E_WORKFLOW_INCOMPATIBLE_WITH_CAMERA
  The selected camera and workflow are incompatible. Please see the workflow description for usable camera criteria.
   
500 AW_FACE_CAPTURE_E_INVALID_ENCRYPTION_TYPE
  Invalid encryption type.
   
501 AW_FACE_CAPTURE_E_INVALID_ENCRYPTION_PUBLIC_KEY
  Invalid encryption public key.