Error message
You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).class DatabaseSchemaObjectExistsException
Exception thrown if an object being created already exists.
For example, this exception should be thrown whenever there is an attempt to create a new database table, field, or index that already exists in the database schema.
Hierarchy
- class \DatabaseSchemaObjectExistsException extends \Exception
Expanded class hierarchy of DatabaseSchemaObjectExistsException
Related topics
- Schema API
- API to handle database schemas.
File
-
includes/
database/ schema.inc, line 787
View source
class DatabaseSchemaObjectExistsException extends Exception {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.