We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b3e34a commit 58e9172Copy full SHA for 58e9172
doc/Type/X/AdHoc.pod
@@ -23,6 +23,12 @@ You can obtain the original object with the C<payload> method.
23
" and backtrace ",
24
$!.backtrace;
25
26
+Note that young code will often be prototyped using C<X::AdHoc> and
27
+then later be revised to use more specific subtypes of C<Exception>.
28
+As such it is usually best not to explicitly rely on receiving an
29
+C<X::AdHoc> -- in many cases using the string returned by the
30
+C<.message> method, which all C<Exception>s must have, is preferable.
31
+
32
=head1 Methods
33
34
=head2 method payload
0 commit comments