-
-
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers
- Kwalitee
- Activity
24 month- Tools
- Download (0B)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
KinoSearch::Obj::Err - Exception.
SYNOPSIS
use Scalar::Util qw( blessed ); my $bg_merger; while (1) { $bg_merger = eval { KinoSearch::Index::BackgroundMerger->new( index => $index ); }; last if $bg_merger; if ( blessed($@) and $@->isa("KinoSearch::Store::LockErr") ) { warn "Retrying...\n"; } else { # Re-throw. die "Failed to open BackgroundMerger: $@"; } }
DESCRIPTION
Exception.
Most of the time when KinoSearch encounters an error, it tries to raise a KinoSearch::Obj::Err exception with an error message and context information.
At present, it is only safe to catch exceptions which are specifically documented as catchable; most times when an Err is raised, KinoSearch leaks memory.
INHERITANCE
KinoSearch::Obj::Err isa KinoSearch::Obj.
COPYRIGHT AND LICENSE
Copyright 2005-2009 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install KinoSearch::Obj::Err, copy and paste the appropriate command in to your terminal.
cpanm KinoSearch::Obj::Err
perl -MCPAN -e shell install KinoSearch::Obj::Err
For more information on module installation, please visit the detailed CPAN module installation guide.