Generic error abstraction FW for internal useage