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.
21 lines
396 B
21 lines
396 B
3 years ago
|
#[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
|
||
|
}
|
||
|
}
|