dpp/tokens/
errors.rs

1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum TokenError {
5    #[error("There is no token at this position")]
6    TokenNotFoundAtPositionError,
7    #[error("The contract version does not allow tokens")]
8    TokenNotFoundOnContractVersion,
9    #[error("There is no minting recipient set")]
10    TokenNoMintingRecipient,
11}