docs: function buildHandler(overrides) {
    const parseError = buildHandler.parseError;
    const buildError = buildHandler.buildError;
  
    /**
     * .
     */
    return function handler(error) {
      const found = parseError.apply(this, arguments);
      if (!found) {
        if (error instanceof Error) {
          Error.captureStackTrace(error, handler);
          throw error;
        }
        return sliced(arguments);
      }
      error = buildError.apply(this, found);
      if (notEmptyObject(overrides)) {
        Object.assign(error, overrides);
      }
      Error.captureStackTrace(error, handler);
      throw error;
    };
  }