cml_cip36/error.rs
1#[derive(Debug, thiserror::Error)]
2pub enum CIP36Error {
3 #[error("Empty delegation array")]
4 EmptyDelegationArray,
5 // TODO: can we check this somehow against anything? I don't believe so, so maybe remove this
6 // #[error("Reward wrong network")]
7 // RewardWrongNetwork,
8 #[error("Invalid delegation weights")]
9 DelegationWeightsZero,
10}