docstr: Exception raised when a `candidate` hyperparameter set is incompatible with a `template`
  
  Parameters
  ----------
  candidate: Any
      Hyperparameter set that is incompatible with the choices/concrete values of `template`
  template: Any
      Hyperparameter set defined by
      :meth:`~hyperparameter_hunter.optimization.protocol_core.BaseOptPro.forge_experiment`.
      May include any combination of space choices and concrete values
docstr_tok: ["Exception","raised","when","a","`","candidate","`","hyperparameter","set","is","incompatible","with","a","`","template","`","Parameters","--","--","--","--","--","candidate",":","Any","Hyperparameter","set","that","is","incompatible","with","the","choices\/concrete","values","of","`","template","`","template",":","Any","Hyperparameter","set","defined","by",":","meth",":","`","~hyperparameter_hunter.optimization.protocol_core.BaseOptPro.forge_experiment","`",".","May","include","any","combination","of","space","choices","and","concrete","values"]
code: def __init__(self, candidate, template):
      """Exception raised when a `candidate` hyperparameter set is incompatible with a `template`
  
      Parameters
      ----------
      candidate: Any
          Hyperparameter set that is incompatible with the choices/concrete values of `template`
      template: Any
          Hyperparameter set defined by
          :meth:`~hyperparameter_hunter.optimization.protocol_core.BaseOptPro.forge_experiment`.
          May include any combination of space choices and concrete values
      """
      message = (
          "The `candidate` hyperparameters are incompatible with the `template`\n"
          f"   - `candidate`: {candidate}\n"
          f"   - `template`:  {template}"
      )
      super(IncompatibleCandidateError, self).__init__(message)
  
imports: import logging
  import sys
label_desc: Use image node_id 1 to create a new IncompatibleCandidateError object from inherited base classes: Exception with example: obj = IncompatibleCandidateError(candidate, template)