DatabaseException
From Xojo Documentation
Class (inherits from RuntimeException)
New in 2019r2
Raised when there are errors when using the Database and related classes.
Notes
When an exception occurs you can check the ErrorNumber and Message properties in the exception for details.
- SQLite error codes
- PostgreSQL error codes
- MySQL error codes
- Oracle error codes
- MS SQL Server error codes: SELECT * FROM SYS.MESSAGES
SQLiteDatabase.Backup Error Codes
Code | Reason |
---|---|
0 | No error |
1 | Source database disconnected |
2 | Destination database disconnected |
See Also
Database, DatabaseRow, DatabaseColumn, RowSet classes