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:Antispoofing
ApiNotInitialized
CaptureFace
Connection
DeviceNotCompatible
DocumentNotAvailable
InternalServer
License
NotAvailableInOfflineMode
OfflineResourceNotFound
Permission
ProcessCancelledByUser
ScanningProcessCancelled
Timeout
Unexpected
WrongParameters
ExtraInfo (Dictionary)
: A collection of key and value pairs. Both key and value arestring
.