wasm doesn't support returning strings to js and writing a wrapper is a hassle, just show the error code instead