diff --git a/src/prolog/io.rs b/src/prolog/io.rs index f971e4db..5af2a61b 100644 --- a/src/prolog/io.rs +++ b/src/prolog/io.rs @@ -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) {