docstr: Exception raised when there is an active instance of
  :class:`hyperparameter_hunter.environments.Environment`, but it is invalid for some reason
  
  Parameters
  ----------
  message: String, or None, default=None
      A message to provide upon raising `EnvironmentInvalidError`
  extra: String, default=''
      Extra content to append onto the end of `message` before raising the Exception
docstr_tok: ["Exception","raised","when","there","is","an","active","instance","of",":","class",":","`","hyperparameter_hunter.environments.Environment","`",",","but","it","is","invalid","for","some","reason","Parameters","--","--","--","--","--","message",":","String",",","or","None",",","default=None","A","message","to","provide","upon","raising","`","EnvironmentInvalidError","`","extra",":","String",",","default=","''","Extra","content","to","append","onto","the","end","of","`","message","`","before","raising","the","Exception"]
code: def __init__(self, message=None, extra=""):
      """Exception raised when there is an active instance of
      :class:`hyperparameter_hunter.environments.Environment`, but it is invalid for some reason
  
      Parameters
      ----------
      message: String, or None, default=None
          A message to provide upon raising `EnvironmentInvalidError`
      extra: String, default=''
          Extra content to append onto the end of `message` before raising the Exception
      """
      if not message:
          message = (
              "The currently active Environment is invalid. Please review proper "
              "Environment instantiation"
          )
      super(EnvironmentInvalidError, self).__init__(message + extra)
  
imports: import logging
  import sys
label_desc: Use image node_id 1 to create a new EnvironmentInvalidError object from inherited base classes: Exception with example: obj = EnvironmentInvalidError(message, extra)