pub enum ContractError {
Show 13 variants
Std(StdError),
MetadataNotFound {},
AttributeNotFound {},
AttributeFound {},
AttributeNotEqual {},
AttributeEqual {},
AttributeGreaterThan {},
AttributeGreaterThanOrEqual {},
AttributeLessThan {},
AttributeLessThanOrEqual {},
AttributeTypeMismatch {},
Unauthorized {},
ParseInt(ParseIntError),
}
Variants§
Std(StdError)
MetadataNotFound
Fields
AttributeNotFound
Fields
AttributeFound
Fields
AttributeNotEqual
Fields
AttributeEqual
Fields
AttributeGreaterThan
Fields
AttributeGreaterThanOrEqual
Fields
AttributeLessThan
Fields
AttributeLessThanOrEqual
Fields
AttributeTypeMismatch
Fields
Fields
ParseInt(ParseIntError)
Trait Implementations§
source§impl Debug for ContractError
impl Debug for ContractError
source§impl Display for ContractError
impl Display for ContractError
source§impl Error for ContractError
impl Error for ContractError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ParseIntError> for ContractError
impl From<ParseIntError> for ContractError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.