--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/rust/hg-pyo3/src/exceptions.rs Sat Nov 30 20:27:11 2024 +0100
@@ -0,0 +1,4 @@
+use pyo3::create_exception;
+use pyo3::exceptions::PyValueError;
+
+create_exception!(pyo3_rustext, GraphError, PyValueError);