[][src]Enum gooseberry::errors::Apologize

pub enum Apologize {
    TagNotFound {
        tag: String,
    },
    AnnotationNotFound {
        id: String,
    },
    GroupNotFound {
        id: String,
    },
    DoingNothing,
    Homeless,
    SearchError,
    ConfigError {
        message: String,
    },
    KBError {
        message: String,
    },
    EditorError,
    OutOfCheeseError {
        message: String,
    },
}

"It claimed to have 15 functions, although it appeared that at least ten were apologizing for the useless manner in which it performed the others." - Dis-organizer

Variants

TagNotFound

Thrown when trying to access an unrecorded tag

Fields of TagNotFound

tag: String
AnnotationNotFound

Thrown when trying annotation ID doesn't match any recorded annotations

Fields of AnnotationNotFound

id: String
GroupNotFound

Thrown when trying to access an unrecorded tag

Fields of GroupNotFound

id: String
DoingNothing

Thrown when explicit Y not received from user for destructive things

Homeless

Thrown when $HOME is not set

SearchError

Thrown when skim doesn't work

ConfigError

Errors related to changing the configuration file

Fields of ConfigError

message: String
KBError

Errors related to making the knowledge base

Fields of KBError

message: String
EditorError

Thrown when no text is returned from an external editor

OutOfCheeseError

Catch-all for stuff that should never happen

Fields of OutOfCheeseError

message: String

Trait Implementations

impl Debug for Apologize[src]

impl Display for Apologize[src]

impl Error for Apologize[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsAny for T where
    T: Any
[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> Instrument for T[src]

impl<T> Instrument for T[src]

impl<E> InstrumentError for E where
    TracedError<E>: From<E>, 
[src]

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation

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

impl<D> OwoColorize for D

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SectionExt for T where
    T: Display + Send + Sync + 'static, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,