lib/errors.js
function ApiParseError(parseErrorMessage, response) {
	this.name = "ApiParseError";
	this.response = response;
	this.message = parseErrorMessage;

	if (Error.captureStackTrace
		&& typeof Error.captureStackTrace === 'function') {
		Error.captureStackTrace(this, ApiParseError);
	}
}
function ApiParseError(parseErrorMessage, response) {
	this.name = "ApiParseError";
	this.response = response;
	this.message = parseErrorMessage;

	if (Error.captureStackTrace
		&& typeof Error.captureStackTrace === 'function') {
		Error.captureStackTrace(this, ApiParseError);
	}
}
function ApiParseError ( parseErrorMessage , response ) { this . name = "ApiParseError" ; this . response = response ; this . message = parseErrorMessage ; if ( Error . captureStackTrace && typeof Error . captureStackTrace === 'function' ) { Error . captureStackTrace ( this , ApiParseError ) ; } }
ApiParseError  Creates a new ApiParseError supplied to callbacks when an invalid or unexpected response is received.  - @constructor - @param {String} parseErrorMessage - Custom error message describing the nature of the parse error. - @param {String} response - The response body string.
ApiParseError Creates a new ApiParseError supplied to callbacks when an invalid or unexpected response is received . -