class_docstr: Thrown when constraints are not met.
class_docstr_tok: ["Thrown","when","constraints","are","not","met","."]
code: def __init__(self, constraint, *args, **kwargs):
      self.__constraint = constraint
      self.__args = args
      self.__kwargs = kwargs
  
file_path: optunity/wrappers/R/inst/optunity/constraints.py
imports: import functools
  from .None import functions
label_desc: Use image node_id 1 to create a new ConstraintViolation object from inherited base classes: Exception with example: obj = ConstraintViolation(constraint)