Enum polly::CodegenError [] [src]

pub enum CodegenError {
    AstError(AstError),
    CompPassedToComp(String),
    FromUtf8Error(FromUtf8Error),
    FunctionError(String),
    IoError(Error),
    NoSuchComponent(String),
    NoSuchFunction(String),
    NotAnObjectOrNull(String),
    WrongNumberOfArguments(usizeusize),
}

Errors generated during code generation

Variants

Errors during AST parsing.

Component passed to a component.

Error converting to a UTF8 String.

An error generated by a Polly Function.

Error generated from writing to a buffer.

No such component in the template.

No such function in the template.

JSON wasn't an object, or it was Null.

Wrong number of arguments passed in.

Trait Implementations

impl Debug for CodegenError
[src]

Formats the value using the given formatter.

impl Error for CodegenError
[src]

A short description of the error. Read more

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

impl Display for CodegenError
[src]

Formats the value using the given formatter. Read more