code: function PushBotsErrorStatus(response) {
    MessagingServiceStatus.call(this, 'pushbots');
  
    // There was an error when attempting to send message
    this.state.message = response.code + ': ' + response.message;
  
    // See https://pushbots.com/developer/api/1 for details
    if (response.statusCode == 400) this.state.code = this.StatusCodes.DATA_REJECTED;
    else if (response.statusCode == 401) this.state.code = this.StatusCodes.UNAUTHORIZED;
    else if (response.statusCode == 405) this.state.code = this.StatusCodes.DATA_REJECTED;
    else if (response.statusCode == 409) this.state.code = this.StatusCodes.DATA_REJECTED;
    else if (response.statusCode == 429) this.state.code = this.StatusCodes.LIMIT_EXCEEDED;
    else if (response.statusCode == 507) this.state.code = this.StatusCodes.LIMIT_EXCEEDED;
    else if (response.statusCode >= 500 && response.statusCode < 600) this.state.code = this.StatusCodes.SERVICE_DOWN;
    else this.state.code = this.StatusCodes.DEFAULT;
  }
docs: /*
  Error Status
  
  @param response     JSON response object from Push Bots service