code: def __init__(self, message, error_code=500):
      self.message = message
      self.error_code = error_code
      super().__init__(message)
  
imports: import enum
  import inspect
  import itertools
  import json
  import logging
  import os
  import re
  from functools import wraps
  from warnings import warn
  import yaml
label_desc: Use image node_id 1 to create a new PredictionException object from inherited base classes: Exception with example: obj = PredictionException(message, error_code)