feat: add expression builder API
This commit is contained in:
parent
a0747108a7
commit
b56327a3a2
3 changed files with 170 additions and 4 deletions
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue