Enum cw_boolean_contract::errors::ContractError
source · pub enum ContractError {
Std(StdError),
Unauthorized {},
SpecificError {
parameter1: String,
},
}Expand description
List of common errors, including ones with arguments
Variants§
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()