Enum polly::CodegenError
[−]
[src]
pub enum CodegenError { AstError(AstError), CompPassedToComp(String), FromUtf8Error(FromUtf8Error), FunctionError(String), IoError(Error), NoSuchComponent(String), NoSuchFunction(String), NotAnObjectOrNull(String), WrongNumberOfArguments(usize, usize), }
Errors generated during code generation
Variants
AstError(AstError)
Errors during AST parsing.
CompPassedToComp(String)
Component passed to a component.
FromUtf8Error(FromUtf8Error)
Error converting to a UTF8 String.
FunctionError(String)
An error generated by a Polly Function.
IoError(Error)
Error generated from writing to a buffer.
NoSuchComponent(String)
No such component in the template.
NoSuchFunction(String)
No such function in the template.
NotAnObjectOrNull(String)
JSON wasn't an object, or it was Null.
WrongNumberOfArguments(usize, usize)
Wrong number of arguments passed in.
Trait Implementations
impl Debug for CodegenError
[src]
impl Error for CodegenError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more