Struct move_core_types::errmap::ErrorContext
source · pub struct ErrorContext {
pub category: ErrorDescription,
pub reason: ErrorDescription,
}
Fields§
§category: ErrorDescription
The error category e.g., INVALID_ARGUMENT
reason: ErrorDescription
The error reason e.g., ECANT_PAY_DEPOSIT
Trait Implementations§
source§impl Clone for ErrorContext
impl Clone for ErrorContext
source§fn clone(&self) -> ErrorContext
fn clone(&self) -> ErrorContext
Returns a copy 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 ErrorContext
impl Debug for ErrorContext
source§impl<'de> Deserialize<'de> for ErrorContext
impl<'de> Deserialize<'de> for ErrorContext
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