class X::IO::Mkdir
ErrorsCollection

class X::IO::Mkdir

Error while trying to create a directory

class X::IO::Mkdir does X::IO is Exception { }

Error class for failed mkdir operations.

A typical error message is

Failed to create directory 'destination' with mode '0o755': File exists

Methods

method path

Returns the path that the mkdir operation failed to create.

method mode

Returns the permissions mask of the failed mkdir operation as an Int.