Skip to main content

tgrade_gov_reflect/
error.rs

1use cosmwasm_std::StdError;
2use thiserror::Error;
3
4#[derive(Error, Debug)]
5pub enum ContractError {
6    #[error("{0}")]
7    Std(#[from] StdError),
8
9    #[error("Unauthorized: {0}")]
10    Unauthorized(String),
11
12    #[error("Unsupported sudo callback")]
13    UnsupportedSudoType {},
14}