refactoring of Hera exceptions