[mlir][mbr] Improve diagnostics on error with `raise from`.
This commit extends the `raise` statements on errors in user-provided code with `from e` clauses that attach the original exception to the one being raised. This allows to debug the root cause of the error more easily. Reviewed By: SaurabhJha Differential Revision: https://reviews.llvm.org/D129762
Loading
Please sign in to comment