Skip to content

Commit

Permalink
Gracefully exit on unhandled tag (WebAssembly#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhil authored Sep 27, 2024
1 parent 70086b9 commit 0959c49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interpreter/script/run.ml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ let input_from get_script run =
| Eval.Exhaustion (at, msg) -> error at "resource exhaustion" msg
| Eval.Crash (at, msg) -> error at "runtime crash" msg
| Eval.Exception (at, msg) -> error at "uncaught exception" msg
| Eval.Suspension (at, msg) -> error at "suspension error" msg
| Encode.Code (at, msg) -> error at "encoding error" msg
| Script.Error (at, msg) -> error at "script error" msg
| IO (at, msg) -> error at "i/o error" msg
Expand Down

0 comments on commit 0959c49

Please sign in to comment.