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

Error class when a chdir call failed.

For example

chdir '/home/other'

throws

Failed to change the working directory to '/home/other': permission denied

Methods§

method path§

Returns the path that was passed to the failed chdir call.