pub trait ValidationContext {
// Required methods
fn add_error(&mut self, code: String, message: String);
fn is_valid(&self) -> bool;
fn get_errors(&self) -> &[BrddError];
}Expand description
A subset of the context that allows adding errors and checking validity.