SigningError class
Error codes, used in multiple blockchains.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
nameor thevalueif names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → SigningError?
Constants
- Error_dust_amount_requested → const SigningError
- Requested amount is too low (less dust).
- Error_general → const SigningError
- Chain-generic codes: Generic error (used if there is no suitable specific error is adequate)
- Error_input_parse → const SigningError
- Some input field cannot be parsed
- Error_internal → const SigningError
- Internal error, indicates some very unusual, unexpected case
- Error_invalid_address → const SigningError
- A provided address (e.g. destination address) is invalid
- Error_invalid_memo → const SigningError
-
Invalid memo, e.g.
XRPInvalid tag - Error_invalid_params → const SigningError
- Incorrect input parameter
- Error_invalid_private_key → const SigningError
- A private key provided is invalid (e.g. wrong size, usually should be 32 bytes)
- Error_invalid_requested_token_amount → const SigningError
- Invalid input token amount
- Error_invalid_utxo → const SigningError
- A provided input UTXO is invalid
- Error_invalid_utxo_amount → const SigningError
- The amount of an input UTXO is invalid
- Error_low_balance → const SigningError
- 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_missing_input_utxos → const SigningError
-
UTXO-chain specific, input related:
No input UTXOs provided
BTC - Error_missing_private_key → const SigningError
- One required key is missing (too few or wrong keys are provided)
- Error_no_support_n2n → const SigningError
- Multi-input and multi-output transaction not supported
- Error_not_enough_utxos → const SigningError
-
Not enough non-dust input UTXOs to cover requested amount (dust UTXOs are filtered out)
BTC - Error_not_supported → const SigningError
- Operation not supported for the chain.
- Error_script_output → const SigningError
-
BTCInvalid required output script - Error_script_redeem → const SigningError
-
UTXO-chain specific, script related:
BTCMissing required redeem script - Error_script_witness_program → const SigningError
-
BTCUnrecognized witness program - Error_signatures_count → const SigningError
- Incorrect count of signatures passed to compile
- Error_signing → const SigningError
- Chain-generic, signing related: General signing error
- Error_tx_too_big → const SigningError
-
Resulting transaction is too large
NEOTransaction too big, fee in GAS needed or try send by parts - Error_wrong_fee → const SigningError
- Chain-generic, fee related: Wrong fee is given, probably it is too low to cover minimal fee for the transaction
- Error_zero_amount_requested → const SigningError
- Requested amount is zero, send of 0 makes no sense
- OK → const SigningError
- This is the OK case, with value=0
-
values
→ const List<
SigningError>