class_docstr: Error indicating that a given path could not be created.
docstr: Constructor method.
  
  Args:
      path: The path which should be created.
      host: The host where the path should be created.
docstr_tok: ["Constructor","method",".","Args",":","path",":","The","path","which","should","be","created",".","host",":","The","host","where","the","path","should","be","created","."]
code: def __init__(self, path: str, host: Optional[str] = None):
      """Constructor method.
  
      Args:
          path: The path which should be created.
          host: The host where the path should be created.
      """
      self.path = path
      self.host = host
  
      if host:
          super().__init__(
              f"The path {path} could not be created on host {host}"
          )
      else:
          super().__init__(f"The path {path} could not be created")
  
imports: from typing import Any, Optional
label_desc: Use image node_id 1 to create a new PathCreationError object from inherited base classes: LazyclusterError with example: obj = PathCreationError(path, host)