Skip to content

Commit

Permalink
Fully remove old exception mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
mhasself committed Mar 29, 2024
1 parent b2afcd6 commit ba64bf3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/exceptions.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ static void translate_ValueError(so3g_exception const& e)
namespace bp = boost::python;
PYBINDINGS("so3g")
{
// bp::register_exception_translator<buffer_exception> (&translate_TypeError);
// bp::register_exception_translator<dtype_exception> (&translate_ValueError);
// bp::register_exception_translator<shape_exception> (&translate_RuntimeError);
// bp::register_exception_translator<agreement_exception> (&translate_RuntimeError);
// bp::register_exception_translator<tiling_exception> (&translate_RuntimeError);
// bp::register_exception_translator<general_agreement_exception> (&translate_ValueError);
bp::register_exception_translator<RuntimeError_exception> (&translate_RuntimeError);
bp::register_exception_translator<TypeError_exception> (&translate_TypeError);
bp::register_exception_translator<ValueError_exception> (&translate_ValueError);
Expand Down

0 comments on commit ba64bf3

Please sign in to comment.