pub trait MultiFileErrorCollector: Sealed {
// Provided methods
fn add_error(
self: Pin<&mut Self>,
filename: &str,
line: i32,
column: i32,
message: &str,
) { ... }
fn add_warning(
self: Pin<&mut Self>,
filename: &str,
line: i32,
column: i32,
message: &str,
) { ... }
}
Expand description
If the importer encounters problems while trying to import the proto files,
it reports them to a MultiFileErrorCollector
.