ErrorCode

Predefined error codes
Protobuf enum TW.THORChainSwap.Proto.ErrorCode

Entries

Link copied to clipboard
Link copied to clipboard

Error_general = 1;

Link copied to clipboard

Error_Input_proto_deserialization = 2;

Link copied to clipboard

Error_Unsupported_from_chain = 13;

Link copied to clipboard

Error_Unsupported_to_chain = 14;

Link copied to clipboard

Error_Invalid_from_address = 15;

Link copied to clipboard

Error_Invalid_to_address = 16;

Link copied to clipboard

Error_Invalid_vault_address = 21;

Link copied to clipboard

Error_Invalid_router_address = 22;

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
open fun internalGetValueMap(): EnumLiteMap<ErrorCode>
Link copied to clipboard
open fun internalGetVerifier(): EnumVerifier
Link copied to clipboard

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
Error_general = 1;
Link copied to clipboard
Error_Input_proto_deserialization = 2;
Link copied to clipboard
Error_Invalid_from_address = 15;
Link copied to clipboard
Error_Invalid_router_address = 22;
Link copied to clipboard
Error_Invalid_to_address = 16;
Link copied to clipboard
Error_Invalid_vault_address = 21;
Link copied to clipboard
Error_Unsupported_from_chain = 13;
Link copied to clipboard
Error_Unsupported_to_chain = 14;
Link copied to clipboard
val OK_VALUE: Int = 0
OK
OK = 0;