feat: add expression builder API

This commit is contained in:
Anand Balakrishnan 2023-03-17 14:42:09 -07:00
parent a0747108a7
commit b56327a3a2
No known key found for this signature in database
3 changed files with 170 additions and 4 deletions

View file

@ -1 +1,14 @@
pub mod expr;
use thiserror::Error;
#[derive(Error, Debug)]
pub enum Error {
#[error("redeclaration of identifier")]
IdentifierRedeclaration,
#[error("insufficient number of arguments")]
IncompleteArgs,
}
pub type ArgusError = Error;
pub type ArgusResult<T> = Result<T, Error>;