lib/error.js
function JModelError(obj) {
    this.message = obj['message'];
    this.propertyName = obj['propertyName'];

    Error.call(this);
    Error.captureStackTrace(this, this.constructor);
}
function JModelError(obj) {
    this.message = obj['message'];
    this.propertyName = obj['propertyName'];

    Error.call(this);
    Error.captureStackTrace(this, this.constructor);
}
function JModelError ( obj ) { this . message = obj [ 'message' ] ; this . propertyName = obj [ 'propertyName' ] ; Error . call ( this ) ; Error . captureStackTrace ( this , this . constructor ) ; }
JModel Error Class

@param {Object} obj
@returns {JModelError}
JModel Error Class