ErrorCode
Internal Keyless Error codes
class ErrorCode

Methods

getCode

Declaration fun getCode(): Int!
Returns Int!: the code
​

isReturnedBy

Checks if this code is returned by the exception
Declaration fun isRseturnedBy(kex: KeylessException!): Boolean
Returns Boolean: true if the codes matchEnumerations
Paramaters
kex
KeylessException!: the exception

Enumerations

Value
​
CIRCUIT_CANNOT_OPEN_DESCRIPTION_FILE
​
CIRCUIT_INVALID_FILE_FORMAT
​
CIRBUILD_LOADING_CIRCUIT
​
CIRBUILD_GATES_GENERATION_FAILED
​
CIREVAL_INVALID_CIRCUIT
​
CIRBUILD_INVALID_INPUT_LENGTH
​
BIOMETRICS_INVALID_BIOMETRIC
​
BYTES_INVALID_HASH_FORMAT
​
BYTES_NOT_UINT_32
​
BYTES_NOT_UINT_64
​
BYTES_EMPTY_INPUT
​
BYTES_INVALID_ENCODING
​
BYTES_DATA_TOO_LONG
​
BYTES_BASE32_INVALID_INPUT
​
CRYPTO_RAND_FAILED
​
CRYPTO_HASH_FAILED
​
CRYPTO_HASH_INCORRECT_LENGTH
​
CRYPTO_KDF_FAILED
​
CRYPTO_RSA_KEY_GEN_FAILED
​
Last modified 2yr ago
Export as PDF
Copy link