used virtual std::exception::what member to complete error message with exception type for Python API