Struct gluon_base::error::InFile [] [src]

pub struct InFile<E> {
    pub source_name: String,
    // some fields omitted
}

Error type which contains information of which file and where in the file the error occurred

Fields

Methods

impl<E: Display> InFile<E>
[src]

[src]

Creates a new InFile error which states that the error occurred in file using the file contents in source to provide a context to the span.

[src]

Trait Implementations

impl<E: Debug> Debug for InFile<E>
[src]

[src]

Formats the value using the given formatter.

impl<E: PartialEq> PartialEq for InFile<E>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<E: Display> Display for InFile<E>
[src]

[src]

Formats the value using the given formatter. Read more

impl<E: Display + Debug + Any> StdError for InFile<E>
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more