class ActivateUserDeviceErrorHandler extends GenericErrorHandler {

  static handleError(response){
    if (response.statusCode === 404) {
      throw new DeviceNotFoundError(this.formatMessage(response.statusCode, DEVICE_NOT_FOUND_MESSAGE))