[][src]Enum artemis_codegen::CodegenError

pub enum CodegenError {
    IoError(StringError),
    QueryParsingError(ParseError),
    SchemaParsingError(ParseError),
    SerializationError(Error),
    UnionError(UnionError),
    SyntaxError(String),
    TypeError(String),
    InternalError(String),
    UnimplementedError(String),
    InputError(String),
}

An error that happened during code generation

Variants

IoError(StringError)

An IO Error

QueryParsingError(ParseError)

An error that occurred while parsing a query

SchemaParsingError(ParseError)

An error that occurred while parsing the schema

SerializationError(Error)

An error that occurred during serialization

UnionError(UnionError)

An internal error while parsing union types

SyntaxError(String)

A syntax error in the query

TypeError(String)

A type error in the query

InternalError(String)

An internal error, should not be returned in normal usage

UnimplementedError(String)

An unimplemented feature

InputError(String)

Invalid inputs were passed

Trait Implementations

impl Debug for CodegenError[src]

impl Display for CodegenError[src]

impl Error for CodegenError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsFail for T where
    T: Fail, 

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

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

impl<T> Erased for T

impl<E> Fail for E where
    E: 'static + Error + Send + Sync

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.