error function

Map error()

Implementation

Map error() {
  return {'type': ERROR, 'data': 'parser error'};
}