Permalink
Browse files

[S32::Exception] general policy for what data to carry around

  • Loading branch information...
1 parent 8f29a46 commit f29d4ced93a2bae8fcd6a7c9d4fedc665040f3a5 @moritz moritz committed Jun 4, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 S32-setting-library/Exception.pod
@@ -32,6 +32,12 @@ so edit it there in the git repository if you would like to make changes.
All built-in exceptions save for the base class C<Exception> live in the
C<X::> namespace.
+Generally errors classes are supposed provide the objects involved with the
+error, and only convert them to a string form when produciing the error
+message. This does not apply to compile errors that involve types which have
+not been fully composed yet; in that case just the name of the incomplete
+type is included in the exception object.
+
=head2 Exception
All built-in exceptions inherit from C<Exception>, which provides some basic

0 comments on commit f29d4ce

Please sign in to comment.