code: def __init__(
      self,
      what_not_authorized: str = "",
      exception: Optional[Exception] = None,
  ) -> None:
      super().__init__(
          "The user is not authorized to " + what_not_authorized,
          exception,
      )
  
file_path: superset/superset/common/not_authorized_object.py
imports: from typing import Any, Optional
  from superset.exceptions import SupersetException
label_desc: Use image node_id 1 to create a new NotAuthorizedException object from inherited base classes: SupersetException with example: obj = NotAuthorizedException(what_not_authorized, exception)