Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add some cultural guidance
  • Loading branch information
skids committed Nov 21, 2015
1 parent 2b3e34a commit 58e9172
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/Type/X/AdHoc.pod
Expand Up @@ -23,6 +23,12 @@ You can obtain the original object with the C<payload> method.
" and backtrace ",
$!.backtrace;
Note that young code will often be prototyped using C<X::AdHoc> and
then later be revised to use more specific subtypes of C<Exception>.
As such it is usually best not to explicitly rely on receiving an
C<X::AdHoc> -- in many cases using the string returned by the
C<.message> method, which all C<Exception>s must have, is preferable.
=head1 Methods
=head2 method payload
Expand Down

0 comments on commit 58e9172

Please sign in to comment.