o1-labs / snarky

OCaml DSL for verifiable computation
MIT License
494 stars 74 forks source link

Use inline record for `Runtime_error` #762

Closed rbonichon closed 1 year ago

rbonichon commented 1 year ago
    I'd suggest using an inline record here to document the fields. Or at least add a simple docstring.
exception Runtime_error of { stack: string list; exception: exn; backtrace: string }

Maybe in a follow-up PR?

_Originally posted by @rbonichon in https://github.com/o1-labs/snarky/pull/686#discussion_r1046989307_

github-actions[bot] commented 1 year ago

Stale issue message