Enum cw20_ics20::ContractError [−][src]
pub enum ContractError {
Std(StdError),
Payment(PaymentError),
NoSuchChannel {
id: String,
},
NoFunds {},
AmountOverflow {},
InvalidIbcVersion {
version: String,
},
OnlyOrderedChannel {},
InsufficientFunds {},
NoForeignTokens {},
FromOtherPort {
port: String,
},
FromOtherChannel {
channel: String,
},
CannotMigrate {
previous_contract: String,
},
}
Variants
Std(StdError)
Tuple Fields of Std
0: StdError
Payment(PaymentError)
Tuple Fields of Payment
0: PaymentError
Fields of NoSuchChannel
id: String
Fields of NoFunds
Fields of AmountOverflow
Fields of InvalidIbcVersion
version: String
Fields of OnlyOrderedChannel
Fields of InsufficientFunds
Fields of NoForeignTokens
Fields of FromOtherPort
port: String
Fields of FromOtherChannel
channel: String
Fields of CannotMigrate
previous_contract: String
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.