code: def __init__(self, reason):
      super().__init__()
      self.reason = reason
  
imports: from typing import Union, Dict, Pattern, Callable, Any, List, Optional
  import re
  import logging
label_desc: Use image node_id 1 to create a new ValidationError object from inherited base classes: Exception with example: obj = ValidationError(reason)