stargaze-mutable-whitelist 0.1.0

Stargaze Mutable Whitelist
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use cosmwasm_std::StdError;
use cw_ownable::OwnershipError;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum ContractError {
    #[error("{0}")]
    Std(#[from] StdError),

    #[error("{0}")]
    Ownership(#[from] OwnershipError),

    #[error("Unauthorized")]
    Unauthorized {},

    #[error("Duplicate address")]
    DuplicateAddress {},
}