IsADirectoryBarecatError#

exception barecat.exceptions.IsADirectoryBarecatError(path)[source]#

Bases: BarecatError

Exception raised when trying to access a directory as a file.

Parameters:

path (str) – path to the directory