code: function ValidationError(record) {
    Object.defineProperty(this, 'has', {
      enumerable: false,
      writable: true,
      value: false
    })
    Object.defineProperty(this, 'record', {
      enumerable: false,
      writable: true,
      value: record
    })
    Object.defineProperty(this, 'errors', {
      enumerable: true,
      writable: true,
      value: {}
    })
  }
docs: The error object on the Record is a Object with a `add` method
  You could add validation errors to that object via
  ```js
  this.errors.add('my_field', 'Some error');
  ```
  
  which will result in the following error object
  ```
  {my_field: ['Some error']}
  ```
  
  @class Record
  @name The Error Object