I am looking for recommendations for a better name for an exception handling module I wrote about a month ago.

The current name Exception::Lite reflects its original motivation, but not its purpose at all. Even though it is still light weight (really! it doesn't take much to create all the features I list below), it has a lot of features that aren't at all advertised by its name.

I developed the module because the existing OOP-ish exception handling modules on CPAN were heavy on things I didn't really need (syntactic sugar, per-property accessor methods) and didn't have the features I really, really did need to construct messages and debug code efficiently. The closest I came was Exception::Base which is about the only module on CPAN that captures the thread id, but it doesn't provide the property/message integration or debugging information that I crave. Features like:

On my less important but still nice list:

OK. I'm done. It isn't much really? Is it?

Fortunately not. The actual exception classes are between 30 and 45 LOC even with all the property/message integration. The code to set up and control the stack trace, chained exceptions, and propagation history amount to another 150 lines. Perl has some marvelously efficient tools for exception handling in its core. They just need to be assembled. caller, DB::args, sprintf, overload and PROPAGATE are my friends.

Being light weight is an advantage, but not its real value, at least not to me. Thus I consider the current name not very useful, especially if I ever get the courage to submit it to CPAN. (The long term responsibility of maintainership worries me which is why I haven't released any modules to date.)

Some of the names I've considered:

As you can see I am naming impaired and would welcome help from my fellow monks. And if someone helps me come up with a decent name and if someone other than I thinks that these features would be helpful, I'll consider biting the bullet of long term responsibility (any thoughts on that issue would be welcome as well, by the way), and post this module to CPAN.

Update: added code, pod excerpts, and test suite in reply Re^2: RFC: A better name for an exception handling module? as per TGI's request.


In reply to RFC: A better name for an exception handling module? by ELISHEVA

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.