feat: rename transaction eval and add error enum

This commit is contained in:
rvcas
2022-09-18 15:35:10 -04:00
parent 68fc0f643e
commit 9e280f9cb5
8 changed files with 34 additions and 26 deletions

View File

@@ -1,12 +1,10 @@
use std::string::FromUtf8Error;
use thiserror::Error;
use crate::ast::{NamedDeBruijn, Term, Type};
use super::{ExBudget, Value};
#[derive(Error, Debug)]
#[derive(thiserror::Error, Debug)]
pub enum Error {
#[error("Over budget mem: {} & cpu: {}", .0.mem, .0.cpu)]
OutOfExError(ExBudget),