[python-bindings] fixed some duplicate Exceptions