Note:

This site is no longer used and is in read-only mode. Instead please go to our new Moodle Developer Resource site.

DML exceptions

From MoodleDocs

Moodle 2.0

In previous versions problems in database calls were ignored by default.

Overview

connection_exception

dml_read_exception

dml_read_exception

See also

  • Exceptions: General guidelines for using of exceptions in Moodle 2.0
  • DML functions: Where all the functions used to handle DB data. (DML) are defined.
  • DDL functions: Where all the functions used to handle DB objects (DDL) are defined.