Skip to content

feat(pybind): register exception translator for cytnx::error -> CytnxError - #989

Merged
pcchen merged 2 commits into
masterfrom
fix/pybind-exception-translator
Jul 7, 2026
Merged

feat(pybind): register exception translator for cytnx::error -> CytnxError#989
pcchen merged 2 commits into
masterfrom
fix/pybind-exception-translator

refactor(pybind): use py::register_exception for CytnxError; address …

e9d0687
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 7, 2026 in 0s

30.83% (+0.00%) compared to 7b4d7dc

View this Pull Request on Codecov

30.83% (+0.00%) compared to 7b4d7dc

Details

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 30.83%. Comparing base (7b4d7dc) to head (e9d0687).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
pybind/cytnx.cpp 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #989   +/-   ##
=======================================
  Coverage   30.82%   30.83%           
=======================================
  Files         229      229           
  Lines       33348    33349    +1     
  Branches    14069    14070    +1     
=======================================
+ Hits        10281    10283    +2     
  Misses      15795    15795           
+ Partials     7272     7271    -1     
Components Coverage Δ
C++ backend 32.26% <ø> (+<0.01%) ⬆️
Python bindings 18.79% <0.00%> (+0.01%) ⬆️
Python package 61.44% <ø> (ø)
Files with missing lines Coverage Δ
pybind/cytnx.cpp 18.18% <0.00%> (-0.57%) ⬇️

... and 2 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b4d7dc...e9d0687. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.