EnzymeAD / rust

A rust fork to work towards Enzyme integration
https://www.rust-lang.org
Other
67 stars 9 forks source link

Create Rust Error Handler #44

Closed ZuseZ4 closed 8 months ago

ZuseZ4 commented 1 year ago

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?