Data::ObjectDriver::Errors man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

Data::ObjectDriver::ErUser(Contributed Perl DocumData::ObjectDriver::Errors(3)

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
       ยท   "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.14.1			  2010-03-22	 Data::ObjectDriver::Errors(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net