FileTypeMismatchException

Exception, to be thrown when attempting to access a file or directory and finding that something with the that name exists, but is of an unexpected type.

It is a normal Exception but with an embedded filename string, and an uint representing the existing file's type (file, directory, symlink, ...).

Constructors

this
this(string message, string file, size_t line, Throwable nextInChain)

Create a new FileTypeMismatchException, without embedding a filename.

this
this(string message, string filename, ushort attrs, string file, size_t line, Throwable nextInChain)

Create a new FileTypeMismatchException, embedding a filename.

Members

Variables

attrs
ushort attrs;

File attributes.

filename
string filename;

The filename of the non-FIFO.