314 lines
6.9 KiB
HTML
314 lines
6.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of Error::Simple</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>Error::Simple</H1>
|
|
Section: User Contributed Perl Documentation (3pm)<BR>Updated: 2020-01-31<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
Error::Simple - the simple error sub-class of Error
|
|
<A NAME="lbAC"> </A>
|
|
<H2>VERSION</H2>
|
|
|
|
|
|
|
|
version 0.17029
|
|
<A NAME="lbAD"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
|
|
|
|
|
|
|
|
<PRE>
|
|
use base 'Error::Simple';
|
|
|
|
</PRE>
|
|
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
The only purpose of this module is to allow one to say:
|
|
<P>
|
|
|
|
|
|
|
|
<PRE>
|
|
use base 'Error::Simple';
|
|
|
|
</PRE>
|
|
|
|
|
|
<P>
|
|
|
|
and the only thing it does is ``use'' Error.pm. Refer to the documentation
|
|
of Error for more information about Error::Simple.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>METHODS</H2>
|
|
|
|
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H3>Error::Simple->new($text [, $value])</H3>
|
|
|
|
|
|
|
|
|
|
|
|
Constructs an Error::Simple with the text <TT>$text</TT> and the optional value
|
|
<TT>$value</TT>.
|
|
<A NAME="lbAH"> </A>
|
|
<H3>$err-><B>stringify()</B></H3>
|
|
|
|
|
|
|
|
|
|
|
|
Error::Simple overloads this method.
|
|
<A NAME="lbAI"> </A>
|
|
<H2>KNOWN BUGS</H2>
|
|
|
|
|
|
|
|
None.
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
|
|
|
|
Shlomi Fish ( <<A HREF="http://www.shlomifish.org/">http://www.shlomifish.org/</A>> )
|
|
<A NAME="lbAK"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
|
|
|
Error
|
|
<A NAME="lbAL"> </A>
|
|
<H2>SUPPORT</H2>
|
|
|
|
|
|
|
|
<A NAME="lbAM"> </A>
|
|
<H3>Websites</H3>
|
|
|
|
|
|
|
|
The following websites have more information about this module, and may be of help to you. As always,
|
|
in addition to those websites please use your favorite search engine to discover more resources.
|
|
<DL COMPACT>
|
|
<DT id="1">•<DD>
|
|
MetaCPAN
|
|
|
|
|
|
<P>
|
|
|
|
|
|
A modern, open-source <FONT SIZE="-1">CPAN</FONT> search engine, useful to view <FONT SIZE="-1">POD</FONT> in <FONT SIZE="-1">HTML</FONT> format.
|
|
|
|
|
|
<P>
|
|
|
|
|
|
<<A HREF="https://metacpan.org/release/Error">https://metacpan.org/release/Error</A>>
|
|
<DT id="2">•<DD>
|
|
Search <FONT SIZE="-1">CPAN</FONT>
|
|
|
|
|
|
<P>
|
|
|
|
|
|
The default <FONT SIZE="-1">CPAN</FONT> search engine, useful to view <FONT SIZE="-1">POD</FONT> in <FONT SIZE="-1">HTML</FONT> format.
|
|
|
|
|
|
<P>
|
|
|
|
|
|
<<A HREF="http://search.cpan.org/dist/Error">http://search.cpan.org/dist/Error</A>>
|
|
<DT id="3">•<DD>
|
|
<FONT SIZE="-1">RT: CPAN</FONT>'s Bug Tracker
|
|
|
|
|
|
<P>
|
|
|
|
|
|
The <FONT SIZE="-1">RT</FONT> ( Request Tracker ) website is the default bug/issue tracking system for <FONT SIZE="-1">CPAN.</FONT>
|
|
|
|
|
|
<P>
|
|
|
|
|
|
<<A HREF="https://rt.cpan.org/Public/Dist/Display.html?Name=Error">https://rt.cpan.org/Public/Dist/Display.html?Name=Error</A>>
|
|
<DT id="4">•<DD>
|
|
<FONT SIZE="-1">CPAN</FONT> Ratings
|
|
|
|
|
|
<P>
|
|
|
|
|
|
The <FONT SIZE="-1">CPAN</FONT> Ratings is a website that allows community ratings and reviews of Perl modules.
|
|
|
|
|
|
<P>
|
|
|
|
|
|
<<A HREF="http://cpanratings.perl.org/d/Error">http://cpanratings.perl.org/d/Error</A>>
|
|
<DT id="5">•<DD>
|
|
<FONT SIZE="-1">CPANTS</FONT>
|
|
|
|
|
|
<P>
|
|
|
|
|
|
The <FONT SIZE="-1">CPANTS</FONT> is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
|
|
|
|
|
|
<P>
|
|
|
|
|
|
<<A HREF="http://cpants.cpanauthors.org/dist/Error">http://cpants.cpanauthors.org/dist/Error</A>>
|
|
<DT id="6">•<DD>
|
|
<FONT SIZE="-1">CPAN</FONT> Testers
|
|
|
|
|
|
<P>
|
|
|
|
|
|
The <FONT SIZE="-1">CPAN</FONT> Testers is a network of smoke testers who run automated tests on uploaded <FONT SIZE="-1">CPAN</FONT> distributions.
|
|
|
|
|
|
<P>
|
|
|
|
|
|
<<A HREF="http://www.cpantesters.org/distro/E/Error">http://www.cpantesters.org/distro/E/Error</A>>
|
|
<DT id="7">•<DD>
|
|
<FONT SIZE="-1">CPAN</FONT> Testers Matrix
|
|
|
|
|
|
<P>
|
|
|
|
|
|
The <FONT SIZE="-1">CPAN</FONT> Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
|
|
|
|
|
|
<P>
|
|
|
|
|
|
<<A HREF="http://matrix.cpantesters.org/?dist=Error">http://matrix.cpantesters.org/?dist=Error</A>>
|
|
<DT id="8">•<DD>
|
|
<FONT SIZE="-1">CPAN</FONT> Testers Dependencies
|
|
|
|
|
|
<P>
|
|
|
|
|
|
The <FONT SIZE="-1">CPAN</FONT> Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
|
|
|
|
|
|
<P>
|
|
|
|
|
|
<<A HREF="http://deps.cpantesters.org/?module=Error">http://deps.cpantesters.org/?module=Error</A>>
|
|
</DL>
|
|
<A NAME="lbAN"> </A>
|
|
<H3>Bugs / Feature Requests</H3>
|
|
|
|
|
|
|
|
Please report any bugs or feature requests by email to <TT>"bug-error at rt.cpan.org"</TT>, or through
|
|
the web interface at <<A HREF="https://rt.cpan.org/Public/Bug/Report.html?Queue=Error">https://rt.cpan.org/Public/Bug/Report.html?Queue=Error</A>>. You will be automatically notified of any
|
|
progress on the request by the system.
|
|
<A NAME="lbAO"> </A>
|
|
<H3>Source Code</H3>
|
|
|
|
|
|
|
|
The code is open to the world, and available for you to hack on. Please feel free to browse it and play
|
|
with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull
|
|
from your repository :)
|
|
<P>
|
|
|
|
<<A HREF="https://github.com/shlomif/perl-error.pm">https://github.com/shlomif/perl-error.pm</A>>
|
|
<P>
|
|
|
|
|
|
|
|
<PRE>
|
|
git clone <A HREF="git://github.com/shlomif/perl-error.pm.git">git://github.com/shlomif/perl-error.pm.git</A>
|
|
|
|
</PRE>
|
|
|
|
|
|
<A NAME="lbAP"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
|
|
|
|
Shlomi Fish ( <A HREF="http://www.shlomifish.org/">http://www.shlomifish.org/</A> )
|
|
<A NAME="lbAQ"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
|
|
|
|
Please report any bugs or feature requests on the bugtracker website
|
|
<<A HREF="https://github.com/shlomif/perl-error.pm/issues">https://github.com/shlomif/perl-error.pm/issues</A>>
|
|
<P>
|
|
|
|
When submitting a bug or request, please include a test-file or a
|
|
patch to an existing test-file that illustrates the bug or desired
|
|
feature.
|
|
<A NAME="lbAR"> </A>
|
|
<H2>COPYRIGHT AND LICENSE</H2>
|
|
|
|
|
|
|
|
This software is copyright (c) 2020 by Shlomi Fish ( <A HREF="http://www.shlomifish.org/">http://www.shlomifish.org/</A> ).
|
|
<P>
|
|
|
|
This is free software; you can redistribute it and/or modify it under
|
|
the same terms as the Perl 5 programming language system itself.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="10"><A HREF="#lbAC">VERSION</A><DD>
|
|
<DT id="11"><A HREF="#lbAD">SYNOPSIS</A><DD>
|
|
<DT id="12"><A HREF="#lbAE">DESCRIPTION</A><DD>
|
|
<DT id="13"><A HREF="#lbAF">METHODS</A><DD>
|
|
<DL>
|
|
<DT id="14"><A HREF="#lbAG">Error::Simple->new($text [, $value])</A><DD>
|
|
<DT id="15"><A HREF="#lbAH">$err-><B>stringify()</B></A><DD>
|
|
</DL>
|
|
<DT id="16"><A HREF="#lbAI">KNOWN BUGS</A><DD>
|
|
<DT id="17"><A HREF="#lbAJ">AUTHORS</A><DD>
|
|
<DT id="18"><A HREF="#lbAK">SEE ALSO</A><DD>
|
|
<DT id="19"><A HREF="#lbAL">SUPPORT</A><DD>
|
|
<DL>
|
|
<DT id="20"><A HREF="#lbAM">Websites</A><DD>
|
|
<DT id="21"><A HREF="#lbAN">Bugs / Feature Requests</A><DD>
|
|
<DT id="22"><A HREF="#lbAO">Source Code</A><DD>
|
|
</DL>
|
|
<DT id="23"><A HREF="#lbAP">AUTHOR</A><DD>
|
|
<DT id="24"><A HREF="#lbAQ">BUGS</A><DD>
|
|
<DT id="25"><A HREF="#lbAR">COPYRIGHT AND LICENSE</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:39 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|