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

Error class for failed link operation.

A typical error message is

Failed to create link called 'my-link' on target 'does-not exist': Failed to link file

Methods

method target

Returns the name of the link target, i.e. the existing file.

method name

Returns the name of the link that could not be created.