throwing_macros/
types.rs

1use syn::{Ident, Type, Visibility};
2
3pub struct CompositeError {
4    pub visibility: Visibility,
5    pub name: Ident,
6    pub variants: Vec<Variant>,
7    pub composed: Vec<Type>,
8}
9
10pub struct Variant {
11    pub typ: Type,
12    pub name: Ident,
13}