This commit is contained in:
Daniel M 2022-02-11 01:01:31 +01:00
parent 6c0867143b
commit 67b07dfd72

View File

@ -12,7 +12,7 @@ use crate::{
#[derive(Debug, Error)] #[derive(Debug, Error)]
pub enum RuntimeError { pub enum RuntimeError {
#[error("Invalid error Index: {}", 0.to_string())] #[error("Invalid array Index: {}", 0.to_string())]
InvalidArrayIndex(Value), InvalidArrayIndex(Value),
#[error("Variable used but not declared: {0}")] #[error("Variable used but not declared: {0}")]