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

Error class when the runtime fails to determine the current directory.

A typical error message is

Failed to get the working directory: permission denied