1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum MacroError {
5 #[error("Error: {0}")]
6 Error(String),
7
8 #[error("Failed to parse macro input: {0}")]
9 ParseError(String),
10
11 #[error("Unsupported response type")]
12 ResponseTypeNotSupported,
13}