This was caught during the p2p flow but i think it applies to the notary flow as well. When the Prover and Verifier class encounters an error, it only logs it but doesn't throw an error in JS. On the JS side, I will like to be able to catch those error so i can gracefully clean up any opened process, socket connection, and/or pending event listener.