about summary refs log tree commit diff
path: root/users/glittershark/achilles/src/interpreter/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'users/glittershark/achilles/src/interpreter/error.rs')
-rw-r--r--users/glittershark/achilles/src/interpreter/error.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/users/glittershark/achilles/src/interpreter/error.rs b/users/glittershark/achilles/src/interpreter/error.rs
deleted file mode 100644
index 268d6f479a1e..000000000000
--- a/users/glittershark/achilles/src/interpreter/error.rs
+++ /dev/null
@@ -1,19 +0,0 @@
-use std::result;
-
-use thiserror::Error;
-
-use crate::ast::{Ident, Type};
-
-#[derive(Debug, PartialEq, Eq, Error)]
-pub enum Error {
-    #[error("Undefined variable {0}")]
-    UndefinedVariable(Ident<'static>),
-
-    #[error("Unexpected type {actual}, expected type {expected}")]
-    InvalidType {
-        actual: Type<'static>,
-        expected: Type<'static>,
-    },
-}
-
-pub type Result<T> = result::Result<T, Error>;