]> Repositorios git - scryer-prolog.git/commitdiff
add exception error prelude.
authorMark Thom <[email protected]>
Fri, 18 Aug 2017 18:44:04 +0000 (12:44 -0600)
committerMark Thom <[email protected]>
Fri, 18 Aug 2017 18:44:04 +0000 (12:44 -0600)
src/prolog/io.rs

index f971e4db0deb682399b7189b4c1cbc487112c729..5af2a61b91aec2060d1819095d9eae129944ac29 100644 (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) {