feat: implement take errors
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2025-11-15 14:47:24 +01:00
parent cbe049b6a2
commit 8c0128612f
2 changed files with 5 additions and 1 deletions

View File

@@ -166,6 +166,10 @@ impl AggregateError {
pub fn get_errors(&self) -> &[MadError] {
&self.errors
}
pub fn take_errors(self) -> Vec<MadError> {
self.errors
}
}
impl Display for AggregateError {