move `error` helper to Helper module