verifyCredential ends in one of two ways: it resolves with a status, or it rejects with an AirKitError (AIR Kit 1.13 and later). Handle both.
Statuses
Non-compliant results never expose credential data.
Errors
Branch on the error’scode, and fall back on its category for codes you do not handle.
Quote
eventId to AIR support when you report a failure. See Error codes for the full list.