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.

Methods

impl ErrorCollector
[src]

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
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more