const errors =
      this.props.onError(
        value,
        this.constructor.errors.map(err => {
          return {