hydra.error.file module
File-system error types.
- class hydra.error.file.FileError
Bases:
objectFileErrorAlreadyExists | FileErrorInvalidPath | FileErrorNotFound | FileErrorOther | FileErrorPermissionDenied
- ALREADY_EXISTS = Name(value='alreadyExists')
- INVALID_PATH = Name(value='invalidPath')
- NOT_FOUND = Name(value='notFound')
- OTHER = Name(value='other')
- PERMISSION_DENIED = Name(value='permissionDenied')
- TYPE_ = Name(value='hydra.error.file.FileError')
- class hydra.error.file.FileErrorAlreadyExists(value: T)
Bases:
Node[hydra.file.FilePath]A path already exists where one was required not to (POSIX EEXIST), e.g. creating a directory that is already present
- class hydra.error.file.FileErrorInvalidPath(value: T)
Bases:
Node[str]The path is syntactically invalid or cannot be represented by the host file system
- class hydra.error.file.FileErrorNotFound(value: T)
Bases:
Node[hydra.file.FilePath]The requested path does not exist
- class hydra.error.file.FileErrorOther(value: T)
Bases:
Node[str]Any other file-system error, represented as a host-provided message
- class hydra.error.file.FileErrorPermissionDenied(value: T)
Bases:
Node[hydra.file.FilePath]The host denied access to the requested path