Error Handling
Managing errors on listeners
As you will read in the listener descriptions, almost every MobbScan listener will receive an error parameter as a third argument when it is triggered.
The struct XMobbScanAPIError contains information about the generated error:
ErrorCode (XMobbScanAPIErrorCode): Possible values are:AntispoofingApiNotInitializedCaptureFaceConnectionDeviceNotCompatibleDocumentNotAvailableInternalServerLicenseNotAvailableInOfflineModeOfflineResourceNotFoundPermissionProcessCancelledByUserScanningProcessCancelledTimeoutUnexpectedWrongParameters
ExtraInfo (Dictionary): A collection of key and value pairs. Both key and value arestring.
