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 1284 of file IRModule.h.
|
inline |
Definition at line 1285 of file IRModule.h.
std::vector<PyDiagnostic::DiagnosticInfo> mlir::python::MLIRError::errorDiagnostics |
Definition at line 1289 of file IRModule.h.
std::string mlir::python::MLIRError::message |
Definition at line 1288 of file IRModule.h.