code: def __init__(self, msg, http_code=None, body=None):
      self.http_code = None if http_code is None else int(http_code)
      self.response = body
      super(ServiceException, self).__init__(msg)
  
imports: import os
  import random
  import requests
  import time
  from metaflow.exception import MetaflowException, MetaflowTaggingError, MetaflowInternalError
  from metaflow.metaflow_config import SERVICE_RETRY_COUNT, SERVICE_HEADERS, SERVICE_URL
  from metaflow.metadata import MetadataProvider
  from metaflow.metadata.heartbeat import HB_URL_KEY
  from metaflow.sidecar import Message, MessageTypes, Sidecar
  from metaflow.util import version_parse
label_desc: Use image node_id 1 to create a new ServiceException object from inherited base classes: MetaflowException with example: obj = ServiceException(msg, http_code, body)