pub type CustomUserError = Box<dyn Error + Send + Sync + 'static>;
Type alias to define errors that might be thrown by the library user on callbacks such as validators.