CIRCT 20.0.0git
|
Functions | |
nanobind::python_error | raisePyError (PyObject *exc_class, const char *message) |
Raises a python exception with the given message. | |
nanobind::python_error | raiseValueError (const char *message) |
Raises a value error with the given message. | |
nanobind::python_error | raiseValueError (const std::string &message) |
Raises a value error with the given message. | |
|
inlineprivate |
Raises a python exception with the given message.
Correct usage:
Definition at line 67 of file NanobindUtils.h.
Referenced by raiseValueError(), and raiseValueError().
|
inlineprivate |
Raises a value error with the given message.
Correct usage: throw RaiseValueError("Foobar'd");
Definition at line 76 of file NanobindUtils.h.
References raisePyError().
|
inlineprivate |
Raises a value error with the given message.
Correct usage: throw RaiseValueError(message);
Definition at line 83 of file NanobindUtils.h.
References raisePyError().