Enum cala_cel_interpreter::CelError
source · pub enum CelError {
CelParseError(String),
BadType(CelType, CelType),
UnknownIdent(String),
IllegalTarget,
MissingArgument,
WrongArgumentType(CelType, CelType),
ChronoParseError(ParseError),
UuidError(String),
DecimalError(String),
NoMatchingOverload(String),
Unexpected(String),
EvaluationError(String, Box<Self>),
}
Variants§
CelParseError(String)
BadType(CelType, CelType)
UnknownIdent(String)
IllegalTarget
MissingArgument
WrongArgumentType(CelType, CelType)
ChronoParseError(ParseError)
UuidError(String)
DecimalError(String)
NoMatchingOverload(String)
Unexpected(String)
EvaluationError(String, Box<Self>)
Trait Implementations§
source§impl Error for CelError
impl Error for CelError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ParseError> for CelError
impl From<ParseError> for CelError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CelError
impl RefUnwindSafe for CelError
impl Send for CelError
impl Sync for CelError
impl Unpin for CelError
impl UnwindSafe for CelError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more