about summary refs log tree commit diff
path: root/tvix/eval/src/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/errors.rs')
-rw-r--r--tvix/eval/src/errors.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tvix/eval/src/errors.rs b/tvix/eval/src/errors.rs
index 59142f2efe..5f1a24b54b 100644
--- a/tvix/eval/src/errors.rs
+++ b/tvix/eval/src/errors.rs
@@ -48,6 +48,10 @@ pub enum ErrorKind {
     // These are user-generated errors through builtins.
     Throw(String),
     Abort(String),
+
+    // An error occured while forcing a thunk, and needs to be chained
+    // up.
+    ThunkForce(Box<Error>),
 }
 
 #[derive(Clone, Debug)]