Application :: databaseError - Get last database error
The function returns the last database error. When an exception has been thrown, usually a database error has been set. When the last database error is 0, the function worked properly, but there was no result available.
Return value:  Error number ( int32  )
The internal error number identifies an error within an error class. Errors might be documented in the error class within the resource database.

