Struct specs::common::Errors [] [src]

pub struct Errors {
    pub errors: Vec<BoxedErr>,
}

A resource you can use to store errors that occurred outside of the ECS but were catched inside, therefore should be handled by the user.

Fields

The collection of errors.

Methods

impl Errors
[src]

[src]

Creates a new instance of Errors.

[src]

Add an error to the error Vec.

[src]

Prints all errors and exits in case there's been an error. Useful for debugging.

Trait Implementations

impl Debug for Errors
[src]

[src]

Formats the value using the given formatter.