FirebasePnvStatusCodes

object FirebasePnvStatusCodes : CommonStatusCodes


Status codes for Firebase PNV.

Summary

Constants

const Int

The carrier is not supported

const Int

Credential Manager threw an error

const Int

Integrity check failed

const Int

The digital credential response is invalid

const Int

The test number ID is invalid or expired or not found

const Int

Preflight check failed

const Int

The SDK is already in test session

const Int

The API is not supported

Public functions

String
getMessage(errorCode: Int)

Returns the default message for the given error code.

Constants

CARRIER_NOT_SUPPORTED

const val CARRIER_NOT_SUPPORTED = 55501: Int

The carrier is not supported

CREDENTIAL_MANAGER_ERROR

const val CREDENTIAL_MANAGER_ERROR = 55506: Int

Credential Manager threw an error

INTEGRITY_CHECK_FAILED

const val INTEGRITY_CHECK_FAILED = 55503: Int

Integrity check failed

INVALID_DIGITAL_CREDENTIAL_RESPONSE

const val INVALID_DIGITAL_CREDENTIAL_RESPONSE = 55502: Int

The digital credential response is invalid

INVALID_TEST_NUMBER_ID

const val INVALID_TEST_NUMBER_ID = 55507: Int

The test number ID is invalid or expired or not found

PREFLIGHT_CHECK_FAILED

const val PREFLIGHT_CHECK_FAILED = 55504: Int

Preflight check failed

TEST_SESSION_ALREADY_ENABLED

const val TEST_SESSION_ALREADY_ENABLED = 55508: Int

The SDK is already in test session

UNSUPPORTED_OPERATION

const val UNSUPPORTED_OPERATION = 55505: Int

The API is not supported

Public functions

getMessage

fun getMessage(errorCode: Int): String

Returns the default message for the given error code. These messages only get used if there is not more detailed error message information at the time that the exception is created.

Parameters
errorCode: Int

The error code to get the message for.

Returns
String

The message for the given error code.