1
2
3
4
5
6
7
8
9
10
11
12
13
14
use codec::{Decode, Encode, MaxEncodedLen};
use scale_info::TypeInfo;

#[derive(Copy, Clone, Debug, PartialEq, Encode, Decode, TypeInfo, MaxEncodedLen)]
pub enum AmclError {
    AggregateEmptyPoints,
    HashToFieldError,
    InvalidSecretKeySize,
    InvalidSecretKeyRange,
    InvalidPoint,
    InvalidG1Size,
    InvalidG2Size,
    InvalidYFlag,
}