eigen_services_blsaggregation/
bls_aggregation_service_error.rs1use eigen_types::avs::SignatureVerificationError;
2use thiserror::Error;
3
4#[derive(Error, Debug, Clone, PartialEq, Eq)]
6pub enum BlsAggregationServiceError {
7 #[error("task expired error")]
9 TaskExpired,
10 #[error("task not found error")]
12 TaskNotFound,
13 #[error("signature verification error")]
15 SignatureVerificationError(SignatureVerificationError),
16 #[error("signatures channel was closed, can't send signatures to aggregator")]
18 SignaturesChannelClosed,
19 #[error("Avs Registry Error")]
21 RegistryError,
22 #[error("duplicate task index error")]
24 DuplicateTaskIndex,
25 #[error("error sending to service")]
27 SenderError,
28 #[error("error receiving from service")]
30 ReceiverError,
31}