|
MLIR 22.0.0git
|
Custom exception that allows access to error diagnostic information. More...
#include "mlir/Bindings/Python/IRCore.h"
Public Member Functions | |
| MLIRError (llvm::Twine message, std::vector< PyDiagnostic::DiagnosticInfo > &&errorDiagnostics={}) | |
Public Attributes | |
| std::string | message |
| std::vector< PyDiagnostic::DiagnosticInfo > | errorDiagnostics |
Custom exception that allows access to error diagnostic information.
This is converted to the ir.MLIRError python exception when thrown.
|
inline |
Definition at line 1327 of file IRCore.h.
References errorDiagnostics, and message.
| std::vector<PyDiagnostic::DiagnosticInfo> mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::MLIRError::errorDiagnostics |
Definition at line 1331 of file IRCore.h.
Referenced by MLIRError(), and NB_MODULE().
| std::string mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::MLIRError::message |
Definition at line 1330 of file IRCore.h.
Referenced by MLIRError(), and NB_MODULE().