MLIR
20.0.0git
|
Custom exception that allows access to error diagnostic information. More...
#include "Bindings/Python/IRModule.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.
Definition at line 1294 of file IRModule.h.
|
inline |
Definition at line 1295 of file IRModule.h.
std::vector<PyDiagnostic::DiagnosticInfo> mlir::python::MLIRError::errorDiagnostics |
Definition at line 1299 of file IRModule.h.
std::string mlir::python::MLIRError::message |
Definition at line 1298 of file IRModule.h.