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]

[src]

New error collector

[src]

Add another error to error collector

[src]

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

[src]

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

[src]

Unwraps ErrorList from the collector

Trait Implementations

impl Clone for ErrorCollector
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more