Closed tqwewe closed 1 year ago
Fixes #180
When a module is not found when using run, a better error is shown.
run
Before:
❯ lunatic run foo.wasm Error: No such file or directory (os error 2)
After:
❯ lunatic run foo.wasm Error: Module 'foo.wasm' not found
The main concern is that the No such file or directory error could come from the foo.wasm itself trying to open a file.
Fixes #180
When a module is not found when using
run
, a better error is shown.Before:
After:
The main concern is that the No such file or directory error could come from the foo.wasm itself trying to open a file.