Commit

48409fd

Even if input can be validated in WASM, if it can't return a Result, it took extra effort to pass along the reason for failure. I made it so the JavaScript side can receive the success value and failure reason as-is.
Translated from Japanese

commit 48409fd