feat: clean up the machine a bit
This commit is contained in:
9
crates/uplc/src/machine/error.rs
Normal file
9
crates/uplc/src/machine/error.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use thiserror::Error;
|
||||
|
||||
use super::ExBudget;
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
pub enum Error {
|
||||
#[error("Over budget mem: {} & cpu: {}", .0.mem, .0.cpu)]
|
||||
OutOfExError(ExBudget),
|
||||
}
|
||||
Reference in New Issue
Block a user