lib/error.js
function DiscogsError(statusCode, message){
	Error.captureStackTrace(this, this.constructor);
	this.statusCode = statusCode||404;
	this.message = message||'Unknown error.';
}
function DiscogsError(statusCode, message){
	Error.captureStackTrace(this, this.constructor);
	this.statusCode = statusCode||404;
	this.message = message||'Unknown error.';
}
function DiscogsError ( statusCode , message ) { Error . captureStackTrace ( this , this . constructor ) ; this . statusCode = statusCode || 404 ; this . message = message || 'Unknown error.' ; }
Discogs generic error
@param {number} [statusCode] - A HTTP status code
@param {string} [message] - The error message
@returns {DiscogsError}
Discogs generic error