src/formatters/defaultError.js
function format(errors, type) {
  return errors
    .filter(isDefaultError)
    .reduce((accum, error) => (
      accum.concat(displayError(type, error))
    ), []);
}
function format(errors, type) {
  return errors
    .filter(isDefaultError)
    .reduce((accum, error) => (
      accum.concat(displayError(type, error))
    ), []);
}
function format ( errors , type ) { return errors . filter ( isDefaultError ) . reduce ( ( accum , error ) => ( accum . concat ( displayError ( type , error ) ) ) , [ ] ) ; }
Format errors without a type
Format errors without a type