Eidolon::Driver::Exceptions - Eidolon driver exceptions.


Eidolon documentation Contained in the Eidolon distribution.

Index


Code Index:

NAME

Top

Eidolon::Driver::Exceptions - Eidolon driver exceptions.

SYNOPSIS

Top

In error handler of your application (lib/Example/Error.pm) you could write:

    if ($e eq "DriverError")
    {
        print "Driver error occured!";
    }
    else
    {
        $e->rethrow();
    }

DESCRIPTION

Top

The Eidolon::Driver::Exceptions package creates driver exceptions that are used by all types of drivers.

EXCEPTIONS

Top

DriverError

Base driver exception. All other driver exceptions subclass it.

SEE ALSO

Top

Eidolon, Eidolon::Core::Exception, Eidolon::Core::Exception::Builder

LICENSE

Top

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Top

Anton Belousov, <abel@cpan.org>

COPYRIGHT

Top


Eidolon documentation Contained in the Eidolon distribution.

package Eidolon::Driver::Exceptions;
# ==============================================================================
#
#   Eidolon
#   Copyright (c) 2009, Atma 7
#   ---
#   Eidolon/Driver/Exceptions.pm - driver exceptions
#
# ==============================================================================

use warnings;
use strict;

our $VERSION = "0.02"; # 2009-05-14 05:20:08

use Eidolon::Core::Exception::Builder 
(
    "DriverError" => 
    {
        "title" => "Driver error"
    },

);

1;

__END__