Closed uncomputable closed 4 months ago
I'm sorry but I'm going to open a PR that refactors a bunch of stuff and then ask you to redo this.
The existing set of unwraps is a real mess and hard to follow which ones are "legitimate" and which ones should actually be errors that get propagated, and the existing PR rearranges them in ways that I don't think actually fixes the situation.
Replace panics with recoverable results. Print error messages in a similar way as the Rust compiler.
Once Simfony has a type system, we can stop triggering low-level Simplicity errors. Users should never see Simplicity errors, much like Rust developers should never see Assembly errors.