add exception error prelude.

This commit is contained in:
Mark Thom
2017-08-18 12:44:04 -06:00
parent 02c0f1cf56
commit 502f498114

View File

@@ -404,7 +404,7 @@ Each predicate must have the same name and arity.";
}
fn error_string(e: &String) -> String {
format!("error: {}", e)
format!("error: exception thrown: {}", e)
}
pub fn print(wam: &mut Machine, result: EvalSession) {