[][src]Enum duckscript::types::error::ErrorInfo

pub enum ErrorInfo {
    ErrorReadingFile(StringOption<FsIOError>),
    Initialization(String),
    Runtime(StringOption<InstructionMetaInfo>),
    PreProcessNoCommandFound(InstructionMetaInfo),
    ControlWithoutValidValue(InstructionMetaInfo),
    InvalidControlLocation(InstructionMetaInfo),
    MissingEndQuotes(InstructionMetaInfo),
    MissingOutputVariableName(InstructionMetaInfo),
    InvalidEqualsLocation(InstructionMetaInfo),
    InvalidQuotesLocation(InstructionMetaInfo),
    EmptyLabel(InstructionMetaInfo),
    UnknownPreProcessorCommand(InstructionMetaInfo),
}

Holds the error information

Variants

ErrorReadingFile(StringOption<FsIOError>)

Error Info Type

Initialization(String)

Error Info Type

Runtime(StringOption<InstructionMetaInfo>)

Error Info Type

PreProcessNoCommandFound(InstructionMetaInfo)

Error Info Type

ControlWithoutValidValue(InstructionMetaInfo)

Error Info Type

InvalidControlLocation(InstructionMetaInfo)

Error Info Type

MissingEndQuotes(InstructionMetaInfo)

Error Info Type

MissingOutputVariableName(InstructionMetaInfo)

Error Info Type

InvalidEqualsLocation(InstructionMetaInfo)

Error Info Type

InvalidQuotesLocation(InstructionMetaInfo)

Error Info Type

EmptyLabel(InstructionMetaInfo)

Error Info Type

UnknownPreProcessorCommand(InstructionMetaInfo)

Error Info Type

Trait Implementations

impl Debug for ErrorInfo[src]

Auto Trait Implementations

impl !RefUnwindSafe for ErrorInfo

impl Send for ErrorInfo

impl Sync for ErrorInfo

impl Unpin for ErrorInfo

impl !UnwindSafe for ErrorInfo

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.