(module
  (func (export "throw")
    unreachable
  )
)
const url = '{%wasm-url%}';
await WebAssembly.instantiateStreaming(fetch(url)).then((result) => {
  result.instance.exports.throw();
  // Expected output: RuntimeError: unreachable
});

Wat Demo: unreachable