From Xojo Documentation
| This item has been deprecated since version 2019r2 and should no longer be used.
Please use DatabaseException as a replacement.
You should check the Error property after each database operation to see if there was an error. If there is an error, you can display or log the ErrorCode and ErrorMessage.
This code attempts to create an in-memory SQLite database and displays the error if one occurred: