Navigation: Advanced topics > Programming topics > Database API > Methods
Returns the last error message in the current connection.
Syntax
DB::LastError()
Arguments
No arguments.
Return value
The last error message in the current connection.
See also:
•Database API: LastId()
•Database API: SetConnection()
•Connecting to the database
•About Database API