12 lines
197 B
Rust
12 lines
197 B
Rust
|
use cosmwasm_std::StdError;
|
||
|
use thiserror::Error;
|
||
|
|
||
|
#[derive(Error, Debug)]
|
||
|
pub enum ContractError {
|
||
|
#[error("{0}")]
|
||
|
Std(#[from] StdError),
|
||
|
|
||
|
#[error("Unauthorized")]
|
||
|
Unauthorized,
|
||
|
}
|