1 2 3 4 5 6 7 8 9 10 11 12 13
use {serde::Serialize, std::fmt::Debug, thiserror::Error};
#[derive(Error, Serialize, Debug, PartialEq)]
pub enum AggregateError {
#[error("only identifier is allowed in aggregation")]
OnlyIdentifierAllowed,
#[error("value not found: {0}")]
ValueNotFound(String),
#[error("unreachable rc unwrap failure")]
UnreachableRcUnwrapFailure,
}