You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
396 B

#[derive(Debug, PartialEq)]
pub enum Error {
ParserError,
UnrecognisedBinaryOperator,
UnrecognisedCondition,
UnrecognisedJunction,
MissingVarValue,
MissingIdentAssignment,
MissingVarMap,
MissingIdentMap,
IllegalVarInBoundary,
IllegarBoundedVar,
UnboundedVar,
}
impl From<()> for Error {
fn from(_: ()) -> Self {
Error::ParserError
}
}