Error-Base
view release on metacpan or search on metacpan
lib/Error/Base.pm view on Meta::CPAN
Perhaps you attempted to late-interpolate a reference other than to
a scalar, array, or hash.
Don't pass such references as values to any key with the wrong sigil.
=item C<< bad reftype in _expand_ref >>
You passed a hashref or coderef to C<-mesg>. Pass a simple string or arrayref.
=item C<< no $self >>
Called a method without class or object. Did you call as function?
=item C<< stringifying unthrown object >>
An object of this class will stringify to its printable error message
(including backtrace if any) when thrown. There is nothing to see (yet) if
you try to print an object that has been constructed but not (yet) thrown.
This error is not fatal; it is returned as the stringification.
=item C<< in _late eval: >>
Attempted to late-interpolate badly. Check your code. The interpolation
failed so you cannot expect to see the correct error message text.
On the offchance that you would like to see the stack backtrace anyway,
this error is not fatal.
=back
=head1 CONFIGURATION AND ENVIRONMENT
Error::Base requires no configuration files or environment variables.
=head1 DEPENDENCIES
There are no non-core dependencies.
=over
=item
L<version|version> 0.99 E<nbsp>E<nbsp>E<nbsp>E<nbsp> # Perl extension for Version Objects
=item
L<overload|overload> E<nbsp>E<nbsp>E<nbsp>E<nbsp> # Overload Perl operations
=item
L<Scalar::Util|Scalar::Util> E<nbsp>E<nbsp>E<nbsp>E<nbsp> # General-utility scalar subroutines
=back
This module should work with any version of perl 5.8.8 and up.
However, you may need to upgrade some core modules.
=head1 INCOMPATIBILITIES
None known.
=head1 BUGS AND LIMITATIONS
This is an early release. Reports and suggestions will be warmly welcomed.
Please report any bugs or feature requests to
C<bug-error-base@rt.cpan.org>, or through the web interface at
L<http://rt.cpan.org>.
=head1 DEVELOPMENT
This project is hosted on GitHub at: L<https://github.com/Xiong/error-base>.
=head1 THANKS
Grateful acknowledgement deserved by AMBRUS for coherent API suggestions.
Any failure to grasp them is mine.
=head1 AUTHOR
Xiong Changnian C<< <xiong@cpan.org> >>
=head1 LICENCE
Copyright (C) 2011, 2013 Xiong Changnian C<< <xiong@cpan.org> >>
This library and its contents are released under Artistic License 2.0:
L<http://www.opensource.org/licenses/artistic-license-2.0.php>
=begin fool_pod_coverage
No, I'm not just lazy. I think it's counterproductive to give each accessor
its very own section. Sorry if you disagree.
=head2 put_base
=head2 put_type
=head2 put_mesg
=head2 put_quiet
=head2 put_nest
=head2 put_prepend
=head2 put_indent
=head2 get_base
=head2 get_type
=head2 get_mesg
=head2 get_quiet
=head2 get_nest;
=head2 get_prepend
=head2 get_indent
( run in 0.679 second using v1.01-cache-2.11-cpan-39bf76dae61 )