code: function JModelError(obj) {
      this.message = obj['message'];
      this.propertyName = obj['propertyName'];
  
      Error.call(this);
      Error.captureStackTrace(this, this.constructor);
  }
docs: JModel Error Class
  
  @param {Object} obj
  @returns {JModelError}