Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add X::IO::Move
  • Loading branch information
hoelzro committed Aug 28, 2015
1 parent 17a7747 commit 97ae81f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/core/Exception.pm
Expand Up @@ -353,6 +353,14 @@ my class X::IO::Copy does X::IO {
}
}

my class X::IO::Move does X::IO {
has $.from;
has $.to;
method message() {
"Failed to move '$.from' to '$.to': $.os-error"
}
}

my class X::IO::DoesNotExist does X::IO {
has $.path;
has $.trying;
Expand Down

0 comments on commit 97ae81f

Please sign in to comment.