Skip to content

Commit 9d0cf6e

Browse files
author
Jan-Olof Hendig
committed
Added docs for X::IO::DoesNotExist
1 parent c2c3eb8 commit 9d0cf6e

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

doc/Type/X/IO/DoesNotExist.pod

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
=begin pod
2+
3+
=TITLE class X::IO::DoesNotExist
4+
5+
=SUBTITLE Error while doing file tests on a non existing path
6+
7+
class X::IO::DoesNotExist does X::IO is Exception { }
8+
9+
Thrown when doing e.g. file test operations on a non existing path.
10+
11+
A typical error message is
12+
13+
Failed to find 'euler-5.p6' while trying to do '.f'
14+
15+
=head1 Methods
16+
17+
=head2 method path
18+
19+
Returns the path that was passed to the failed call.
20+
21+
=head2 method trying
22+
23+
Returns a string describing the failed operation.
24+
25+
=end pod

type-graph.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ class X::IO::Rmdir is Exception does X::IO
349349
class X::IO::Unlink is Exception does X::IO
350350
class X::IO::Symlink is Exception does X::IO
351351
class X::IO::Chmod is Exception does X::IO
352+
class X::IO::DoesNotExist is Exception does X::IO
352353

353354
[Exceptions]
354355
# Exceptions: Compile-Time

0 commit comments

Comments
 (0)