Lines Matching defs:PythonException
65 return llvm::make_error<PythonException>();
386 return llvm::make_error<PythonException>();
899 const char *PythonException::toCString() const {
905 PythonException::PythonException(const char *caller) {
929 void PythonException::Restore() {
938 PythonException::~PythonException() {
945 void PythonException::log(llvm::raw_ostream &OS) const { OS << toCString(); }
947 std::error_code PythonException::convertToErrorCode() const {
951 bool PythonException::Matches(PyObject *exc) const {
968 std::string PythonException::ReadBacktrace() const {
989 char PythonException::ID = 0;
1102 return llvm::make_error<PythonException>();
1190 return Status::FromError(llvm::make_error<PythonException>()).Clone();