Getting Started
UnexpectedDirectory
Thrown if a directory path is given where file path should have been.
Instantiate the exception.
path (Path) – The path to a directory that should have been a file.
Path