You are here

function DB_common::errorMessage in Flickr API 5

Maps a DB error code to a textual message

Parameters

integer $dbcode the DB error code:

Return value

string the error message corresponding to the error code submitted. FALSE if the error code is unknown.

See also

DB::errorMessage()

File

phpFlickr/PEAR/DB/common.php, line 1901

Class

DB_common
DB_common is the base class from which each database driver class extends

Code

function errorMessage($dbcode) {
  return DB::errorMessage($this->errorcode_map[$dbcode]);
}