debian man page for data::objectdriver::errors

Query: data::objectdriver::errors

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Data::ObjectDriver::Errors(3pm) 			User Contributed Perl Documentation			   Data::ObjectDriver::Errors(3pm)

NAME
Data::ObjectDriver::Errors - container class for common database error codes
SYNOPSIS
eval { $driver->insert($obj); }; if ($@ && $driver->last_error() == Data::ObjectDriver::Errors->UNIQUE_CONSTRAINT) { ...
DESCRIPTION
Data::ObjectDriver::Errors is a container class for error codes resulting from DBI database operations. Database drivers can map particular database servers' DBI errors to these constants with their "map_error_code" methods.
DEFINED ERROR CODES
o "UNIQUE_CONSTRAINT" The application issued an insert or update that would violate the uniqueness constraint on a particular column, such as attempting to save a duplicate value to an indexed key field.
SEE ALSO
"Data::ObjectDriver::Driver::DBD::map_error_code"
LICENSE
Data::ObjectDriver is free software; you may redistribute it and/or modify it under the same terms as Perl itself. AUTHOR &; COPYRIGHT Except where otherwise noted, Data::ObjectDriver is Copyright 2005-2006 Six Apart, cpan@sixapart.com. All rights reserved. perl v5.12.4 2011-08-29 Data::ObjectDriver::Errors(3pm)
Related Man Pages
data::objectdriver(3pm) - debian
data::objectdriver::driver::dbd(3pm) - debian
data::objectdriver::driver::simplepartition(3pm) - debian
data::objectdriver::profiler(3pm) - debian
data::objectdriver::sql(3pm) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
Is UNIX an open source OS ?
Weird 'find' results
A (ksh) Library For and From UNIX.com