Searched refs:PythonException (Results 1 – 4 of 4) sorted by relevance
64 return llvm::make_error<PythonException>(); in As()378 return llvm::make_error<PythonException>(); in FromUTF8()917 const char *PythonException::toCString() const { in toCString()923 PythonException::PythonException(const char *caller) { in PythonException() function in PythonException947 void PythonException::Restore() { in Restore()956 PythonException::~PythonException() { in ~PythonException()969 bool PythonException::Matches(PyObject *exc) const { in Matches()986 std::string PythonException::ReadBacktrace() const { in ReadBacktrace()1007 char PythonException::ID = 0;1119 return llvm::make_error<PythonException>(); in Create()[all …]
72 class PythonException; variable176 return llvm::make_error<PythonException>(s);641 class PythonException : public llvm::ErrorInfo<PythonException> {649 PythonException(const char *caller = nullptr);651 ~PythonException() override;683 expected.takeError(), [](PythonException &E) { E.Restore(); },
1007 [&](PythonException &E) { in ExecuteOneLineWithReturn()1130 llvm::handleErrors(return_value.takeError(), [&](PythonException &E) { in ExecuteMultipleLines()2123 [&](PythonException &E) { in BreakpointCallbackFunction()
258 [&](PythonException &E) { error_string.append(E.ReadBacktrace()); },302 [&](PythonException &E) { error_string.append(E.ReadBacktrace()); },