code: function getNested (error) {
        return fp.pipe([
          fp.getOr({}, 'errors'),
          fp.toPairs,
          fp.map(fp.first),
          fp.filter(k => k.split('.').length > 1),
          fp.map(fp.pipe([fp.split('.'), fp.initial, fp.join('.')]))
        ])(error)
      }
docs: eslint-disable-next-line lodash-fp/no-extraneous-function-wrapping