Create TSEncryptedDatabaseError class
Update error handling within DB and unit tests
Update error handling outside of DB