pub enum ActionsValidationError {
Show 20 variants
DeleteActionMustBeFinal,
TotalPrepaidGasExceeded {
limit: Gas,
total_prepaid_gas: Gas,
},
TotalNumberOfActionsExceeded {
limit: u64,
total_number_of_actions: u64,
},
AddKeyMethodNamesNumberOfBytesExceeded {
limit: u64,
total_number_of_bytes: u64,
},
AddKeyMethodNameLengthExceeded {
length: u64,
limit: u64,
},
IntegerOverflow,
InvalidAccountId {
account_id: String,
},
ContractSizeExceeded {
limit: u64,
size: u64,
},
FunctionCallMethodNameLengthExceeded {
length: u64,
limit: u64,
},
FunctionCallArgumentsLengthExceeded {
length: u64,
limit: u64,
},
UnsuitableStakingKey {
public_key: PublicKey,
},
FunctionCallZeroAttachedGas,
DelegateActionMustBeOnlyOne,
UnsupportedProtocolFeature {
protocol_feature: String,
version: u32,
},
InvalidDeterministicStateInitReceiver {
derived_id: AccountId,
receiver_id: AccountId,
},
DeterministicStateInitKeyLengthExceeded {
length: u64,
limit: u64,
},
DeterministicStateInitValueLengthExceeded {
length: u64,
limit: u64,
},
GasKeyInvalidNumNonces {
limit: u16,
requested_nonces: u16,
},
AddGasKeyWithNonZeroBalance {
balance: NearToken,
},
GasKeyFunctionCallAllowanceNotAllowed,
}Expand description
Error validating actions in a transaction or receipt.
Variants§
DeleteActionMustBeFinal
TotalPrepaidGasExceeded
TotalNumberOfActionsExceeded
AddKeyMethodNamesNumberOfBytesExceeded
AddKeyMethodNameLengthExceeded
IntegerOverflow
InvalidAccountId
ContractSizeExceeded
FunctionCallMethodNameLengthExceeded
FunctionCallArgumentsLengthExceeded
UnsuitableStakingKey
FunctionCallZeroAttachedGas
DelegateActionMustBeOnlyOne
UnsupportedProtocolFeature
InvalidDeterministicStateInitReceiver
DeterministicStateInitKeyLengthExceeded
DeterministicStateInitValueLengthExceeded
GasKeyInvalidNumNonces
AddGasKeyWithNonZeroBalance
GasKeyFunctionCallAllowanceNotAllowed
Trait Implementations§
Source§impl Clone for ActionsValidationError
impl Clone for ActionsValidationError
Source§fn clone(&self) -> ActionsValidationError
fn clone(&self) -> ActionsValidationError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionsValidationError
impl Debug for ActionsValidationError
Source§impl<'de> Deserialize<'de> for ActionsValidationError
impl<'de> Deserialize<'de> for ActionsValidationError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ActionsValidationError
impl RefUnwindSafe for ActionsValidationError
impl Send for ActionsValidationError
impl Sync for ActionsValidationError
impl Unpin for ActionsValidationError
impl UnsafeUnpin for ActionsValidationError
impl UnwindSafe for ActionsValidationError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more