SigningError

Error codes, used in multiple blockchains.
Protobuf enum TW.Common.Proto.SigningError

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
open fun internalGetValueMap(): EnumLiteMap<SigningError>
Link copied to clipboard
open fun internalGetVerifier(): EnumVerifier
Link copied to clipboard
open fun valueOf(value: Int): Common.SigningError

Returns the enum constant of this type with the specified name.
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Chain-generic codes:
Generic error (used if there is no suitable specific error is adequate)
Error_general = 1;
Link copied to clipboard
Some input field cannot be parsed
Error_input_parse = 19;
Link copied to clipboard
Internal error, indicates some very unusual, unexpected case
Error_internal = 2;
Link copied to clipboard
A provided address (e.g. destination address) is invalid
Error_invalid_address = 16;
Link copied to clipboard
Invalid memo, e.g. [XRP] Invalid tag
Error_invalid_memo = 14;
Link copied to clipboard
Incorrect input parameter
Error_invalid_params = 22;
Link copied to clipboard
A private key provided is invalid (e.g. wrong size, usually should be 32 bytes)
Error_invalid_private_key = 15;
Invalid input token amount
Error_invalid_requested_token_amount = 23;
Link copied to clipboard
The amount of an input UTXO is invalid
Error_invalid_utxo_amount = 18;
Link copied to clipboard
A provided input UTXO is invalid
Error_invalid_utxo = 17;
Link copied to clipboard
Chain-generic codes, input related:
Low balance: the sender balance is not enough to cover the send and other auxiliary amount such as fee, deposit, or minimal balance.
Error_low_balance = 3;
Link copied to clipboard
UTXO-chain specific, input related:
No input UTXOs provided [BTC]
Error_missing_input_utxos = 9;
Link copied to clipboard
One required key is missing (too few or wrong keys are provided)
Error_missing_private_key = 5;
Link copied to clipboard
Multi-input and multi-output transaction not supported
Error_no_support_n2n = 20;
Link copied to clipboard
Not enough non-dust input UTXOs to cover requested amount (dust UTXOs are filtered out) [BTC]
Error_not_enough_utxos = 10;
Link copied to clipboard
[BTC] Invalid required output script 
Error_script_output = 12;
Link copied to clipboard
UTXO-chain specific, script related:
[BTC] Missing required redeem script
Error_script_redeem = 11;
Link copied to clipboard
[BTC] Unrecognized witness program
Error_script_witness_program = 13;
Link copied to clipboard
Incorrect count of signatures passed to compile
Error_signatures_count = 21;
Link copied to clipboard
Chain-generic, signing related:
General signing error
Error_signing = 7;
Link copied to clipboard
Resulting transaction is too large
[NEO] Transaction too big, fee in GAS needed or try send by parts
Error_tx_too_big = 8;
Link copied to clipboard
Chain-generic, fee related:
Wrong fee is given, probably it is too low to cover minimal fee for the transaction
Error_wrong_fee = 6;
Link copied to clipboard
Requested amount is zero, send of 0 makes no sense
Error_zero_amount_requested = 4;
Link copied to clipboard
val OK_VALUE: Int = 0
This is the OK case, with value=0
OK = 0;