class X::IO::Dir
ErrorsCollection

class X::IO::Dir

Error while trying to get a directory's contents

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

Error class that is thrown when a dir call fails.

A typical error message is

Failed to get the directory contents of '/tmp/': No such file or directory

Methods

method path

Returns the path that dir failed to read.