PHP Exceptions\IO\Filesystem Namespace

Classes

Name Description
DirectoryAlreadyExistsException Use this exception when your code tries to create a local directory but it already exists.
DirectoryNotFoundException Use this exception when your code tries to open a local directory but cannot find it.
DirectoryNotReadableException Use this exception when your code tries to read the content of a directory but cannot do so due to filesystem permissions.
DirectoryNotWritableException Use this exception when your code tries to write content to a directory but cannot do so due to filesystem permissions.
FileAlreadyExistsException Use this exception when your code tries to create a file but it already exists.
FileNotFoundException Use this exception when your code tries to open a file but cannot find it.
FileNotReadableException Use this exception when your code tries to read the content of a file but cannot do so due to filesystem permissions.
FileNotWritableException Use this exception when your code tries to write some content to a file but cannot do so due to filesystem permissions.
NotADirectoryException Use this exception when your code tries to do something on a directory but the passed on item is not a directory.
NotAFileException Use this exception when your code tries to do something on a file but the passed on item is not a file.