[][src]Enum fondant::FondantError

pub enum FondantError {
    InvalidHomeDir,
    ConfigParseError,
    DirCreateErr(Error),
    LoadError,
    FileWriteError,
    FileReadError,
    FileOpenError,
}

Errors that load and store can result in

Variants

InvalidHomeDir

Occurs when the home dir is not accessible. You should probably panic! when this is thrown.

ConfigParseError

Invalid toml/yaml/json config.

DirCreateErr(Error)

Invalid permissions to create config dir. Might occur when you set config dir to, say, /etc/config.toml and run without superuser.

LoadError
FileWriteError
FileReadError
FileOpenError

Trait Implementations

impl Debug for FondantError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.