code: def __init__(self, message, status_code=None, payload=None):
      Exception.__init__(self)
      self.message = message
      if status_code is not None:
          self.status_code = status_code
      self.payload = payload
  
imports: import flask
label_desc: Use image node_id 1 to create a new ErrorResponse object from inherited base classes: Exception with example: obj = ErrorResponse(message, status_code, payload)