Enum near_chain_primitives::error::QueryError [−][src]
pub enum QueryError {
InvalidAccount {
requested_account_id: AccountId,
block_height: BlockHeight,
block_hash: CryptoHash,
},
UnknownAccount {
requested_account_id: AccountId,
block_height: BlockHeight,
block_hash: CryptoHash,
},
NoContractCode {
contract_account_id: AccountId,
block_height: BlockHeight,
block_hash: CryptoHash,
},
UnknownAccessKey {
public_key: PublicKey,
block_height: BlockHeight,
block_hash: CryptoHash,
},
InternalError {
error_message: String,
block_height: BlockHeight,
block_hash: CryptoHash,
},
ContractExecutionError {
error_message: String,
block_height: BlockHeight,
block_hash: CryptoHash,
},
TooLargeContractState {
requested_account_id: AccountId,
block_height: BlockHeight,
block_hash: CryptoHash,
},
}Variants
Fields of InvalidAccount
Fields of UnknownAccount
Fields of NoContractCode
Fields of UnknownAccessKey
Fields of InternalError
Fields of ContractExecutionError
Fields of TooLargeContractState
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for QueryError
impl Send for QueryError
impl Sync for QueryError
impl Unpin for QueryError
impl UnwindSafe for QueryError
Blanket Implementations
Mutably borrows from an owned value. Read more