You are here

constant DB_ERROR_CONSTRAINT in Flickr API 5

Tried to insert a duplicate value into a primary or unique index

2 uses of DB_ERROR_CONSTRAINT
DB_mysql::mysqlRaiseError in phpFlickr/PEAR/DB/mysql.php
Produces a DB_Error object regarding the current problem
DB_pgsql::errorCode in phpFlickr/PEAR/DB/pgsql.php
Determines PEAR::DB error code from the database's text error message.

File

phpFlickr/PEAR/DB.php, line 61

Code

define('DB_ERROR_CONSTRAINT', -3);