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.

Typegraph§

Type relations for X::IO::Dir
raku-type-graph X::IO::Dir X::IO::Dir Exception Exception X::IO::Dir->Exception X::IO::Dir->Exception X::IO X::IO X::IO::Dir->X::IO Mu Mu Any Any Any->Mu Exception->Any X::OS X::OS X::OS->Exception X::IO->Exception X::IO->X::OS

Expand chart above