You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Boost.Python already knows how to translate standard C++ exceptions
into standard Python exceptions, in particular:
std::out_of_range => PyExc_IndexError
std::invalid_argument => PyExc_ValueError
std::exception => PyExc_RuntimeError
Replace all uses of mapnik::value_error with std::invalid_argument
0 commit comments