Improve Python wrapper error handling

The new libloot-ffi-errors crate is for sharing code between the CXX and PyO3 wrappers.
This commit is contained in:
Oliver Hamlet
2025-03-25 22:02:33 +00:00
parent 3c02bfd1da
commit de97b90618
18 changed files with 605 additions and 324 deletions
Generated
+10 -1
View File
@@ -600,11 +600,19 @@ dependencies = [
"cxx",
"cxx-build",
"delegate",
"libloot",
"libloot-ffi-errors",
"unicase",
]
[[package]]
name = "libloot-ffi-errors"
version = "0.25.5"
dependencies = [
"esplugin",
"libloadorder",
"libloot",
"loot-condition-interpreter",
"unicase",
]
[[package]]
@@ -612,6 +620,7 @@ name = "libloot_pyo3"
version = "0.25.5"
dependencies = [
"libloot",
"libloot-ffi-errors",
"pyo3",
]