Struct quire::ErrorCollector[][src]

pub struct ErrorCollector(_);

An internal structure to track list of errors

It's exposed only to handler of include file. Use ErrorCollector to submit your errors from include file handler.


impl ErrorCollector

New error collector

Add another error to error collector

Adds fatal (final) error into collection and return error list

Converts collector into Ok(val) if no errors reported, into Err otherwise

Unwraps ErrorList from the collector

Trait Implementations

impl Clone for ErrorCollector

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ErrorCollector

Formats the value using the given formatter. Read more

Auto Trait Implementations