Erros de terminal

Durante os erros de terminal do kernel, o próprio kernel pode trazer maiores detalhes com um erro interno.
Casos de erro de terminal são: 2019, 2020, 2029, 2031

CódigoErroDescrição
1TERMINAL_ALREADY_CREATEDcreateTerminal() should be only called once during the application lifecycle.
2INVALID_TERMINAL_CONFIGURATIONTerminal EMV configuration could not be parsed.
3NFC_ERROR - NFC error during Card Discovery.NFC error during Card Discovery
4TERMINAL_SESSION_DEACTIVATEDTransaction was attempted before terminal being activated.
5PROCESSING_ALREADY_STARTEDA processing started on the active session before completion of the current processing
6ACTIVATION_ALREADY_STARTEDMultiple session activation commands sent. activateSession method executed while session still active.
7NFC_NO_RUNTIME_PERMISSIONManifest does not contain NFC permission.
8NO_NFC_FEATURENFC system feature not included on device.
9NFC_HARDWARE_NOT_AVAILABLEThe mobile has no built-in or attached NFC reader (default reader).
10NFC_DISABLEDNFC needs to be enabled on the device, usually enabled via settings.
11NFC_ALREADY_LISTENINGNFCAdaptor already connected and listening. It might also happen that transaction is started twice.
12INVALID_MERCHANT_IDInvalid MerchantId format sent in activateSession()
13INVALID_RRN_FORMATInvalid RRN sent in startTransaction() parameters.
14INVALID_CURRENCY_CODEInvalid currency code is used. Ensure currency code follows the ISO 4217 standard.
15DEVICE_STATE_FAILUREThe current execution environment is unsuitable for terminal activities. Local attestation failed.
16HOSTAPP_ERROR_ON_UI_MESSAGEErrors that are caught when calling back to the host app OnUiMessage.
18ACTIVITY_NOT_AVAILABLEActivity used to initiate transaction is unavailable (could be stopped for example), no visible activity is available
19TERMINAL_ALREADY_DISPOSEDTerminal instance is disposed or being disposed via terminalProvider.disposeTerminal method.
20INVALID_SESSION_TIMEOUTSession timeout is invalid to activate the session.
21ACTIVATION_WHILE_TRANSACTION_IN_FLIGHTTerminal.activateSession called while a transaction is in progress.