[]Enum lumol::input::Error

pub enum Error {
    TOML(Box<dyn Error + 'static>),
    Io(ErrorPathBuf),
    Trajectory(Error),
    Config(String),
    Unit(ParseError),
    CustomOutput(CustomOutputError),
}

Possible causes of error when reading input files

Variants

TOML(Box<dyn Error + 'static>)

Error in the TOML input file

Io(ErrorPathBuf)

IO error, and associated file path

Trajectory(Error)

Error while reading a trajectory file

Config(String)

File content error: missing sections, bad data types

Unit(ParseError)

Unit parsing error

CustomOutput(CustomOutputError)

Specific error from the custom outputs

Trait Implementations

impl<'a> From<&'a str> for Error

impl From<(CustomOutputError, PathBuf)> for Error

impl From<Error> for Error

impl From<String> for Error

impl From<(Error, PathBuf)> for Error

impl From<ParseError> for Error

impl Display for Error

impl Error for Error

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

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

impl Debug for Error

Auto Trait Implementations

impl !Send for Error

impl !Sync for Error

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]