Julia has an error handler, as inspiration.
We don't need to fully return since we can't try any other AD tools here,
but before dying we should at least print the module to a file and print a link to a debug guide.
Use proper rust error highlighting too.
Can we generate a unique hash based on function name, type of bug (AA, TA, adjointGenerator, ...), other info,
so automatic rust reducer can just minimize based on that hash?
Julia has an error handler, as inspiration. We don't need to fully return since we can't try any other AD tools here, but before dying we should at least print the module to a file and print a link to a debug guide.
Use proper rust error highlighting too.
Can we generate a unique hash based on function name, type of bug (AA, TA, adjointGenerator, ...), other info, so automatic rust reducer can just minimize based on that hash?