class X::IO::Rename
ErrorsCollection

class X::IO::Rename

Error while trying to rename a file or directory

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

Error class for failed file or directory rename operations. A typical error message is

Failed to rename 'source' to 'destination': is a directory

Methods

method from

Returns the source of the failed rename operation

method to

Returns the destination of the failed rename operation