index.js
function ForecastIoAPIError(url, statusCode, body) {
  this.response = {
    statusCode: statusCode,
    body: body
  };
  this.message = this._formatErrorMessage(body);
  this.name = "ForecastIoAPIError";
  Error.call(this);
  Error.captureStackTrace(this, arguments.callee);
  this.request = "GET " + url;
}
function ForecastIoAPIError(url, statusCode, body) {
  this.response = {
    statusCode: statusCode,
    body: body
  };
  this.message = this._formatErrorMessage(body);
  this.name = "ForecastIoAPIError";
  Error.call(this);
  Error.captureStackTrace(this, arguments.callee);
  this.request = "GET " + url;
}
function ForecastIoAPIError ( url , statusCode , body ) { this . response = { statusCode : statusCode , body : body } ; this . message = this . _formatErrorMessage ( body ) ; this . name = "ForecastIoAPIError" ; Error . call ( this ) ; Error . captureStackTrace ( this , arguments . callee ) ; this . request = "GET " + url ; }
Represents API errors.
Represents API errors .