Skip to content

Commit 8fdbbb1

Browse files
committed
Document X::Proc::Async
also add X::Proc::Async and friends to the type graph
1 parent 70a983d commit 8fdbbb1

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

lib/Type/X/Proc/Async.pod

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
=begin pod
2+
3+
=TITLE role X::Proc::Async
4+
5+
=SUBTITLE Common role for Exceptions thrown by L<Proc::Async>.
6+
7+
role X::Proc::Async is Exception { ... }
8+
9+
All exceptions thrown by L<Proc::Async> do this common role.
10+
11+
=head1 Methods
12+
13+
=head2 method proc
14+
15+
method fproc(X::Proc::Async:D) returns Proc::Async
16+
17+
Returns the object that threw the exception.
18+
19+
=end pod

type-graph.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,15 @@ class X::Buf::AsStr is Exception
282282
class X::Buf::Pack is Exception
283283
class X::Buf::Pack::NonASCII is Exception
284284

285+
[Exceptions]
286+
# Exceptions: Proc::Async]
287+
role X::Proc::Async is Exception
288+
class X::Proc::Async::AlreadyStarted does X::Proc::Async
289+
class X::Proc::Async::CharsOrBytes does X::Proc::Async
290+
class X::Proc::Async::MustBeStarted does X::Proc::Async
291+
class X::Proc::Async::OpenForWriting does X::Proc::Async
292+
class X::Proc::Async::TapBeforeSpawn does X::Proc::Async
293+
285294
[Exceptions]
286295
# Exceptions: Time
287296
class X::Temporal is Exception

0 commit comments

Comments
 (0)