1 2 3 4 5 6 7 8 9 10 11
use thiserror::Error; use cel_interpreter::CelError; #[derive(Error, Debug)] pub enum ParamError { #[error("ParamError - ParamTypeMismatch: {0}")] ParamTypeMismatch(String), #[error("ParamError - CelError: {0}")] CelError(#[from] CelError), }