Skip to content

Commit fb29e04

Browse files
authored
[io grant] Include exception used in IO::Path.resolve
1 parent 75abdd5 commit fb29e04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/Type/IO/Path.pod6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ for each directory in the path, and any symlinks found are followed.
383383
my $io = "foo/./bar/..".IO.resolve; # now "/" (the parent of "/baz")
384384
385385
If C<:$completely>, which defaults to C<False>, is set to a true value, the
386-
method will L«C<fail>|/routine/fail» if it cannot completely resolve the path,
386+
method will L«C<fail>|/routine/fail» with C<X::IO::Resolve>
387+
if it cannot completely resolve the path,
387388
otherwise, it will resolve as much as possible, and will merely perform
388389
L«C<cleanup>|/routine/cleanup» of the rest of the path. The last part of the
389390
path does B<NOT> have to exist to C<:$completely> resolve the path.

0 commit comments

Comments
 (0)