refactor Context API
lun-4 opened this issue · comments
luna commented
- separate out part of the Context dedicated to loading and using the database from the creation and migration of database (this leads to weird things like
self.db
being optional) - turn
logger.err
calls that contain metadata into first-class error objects (akin to sqlite'sgetLastDetailedErrorFromDb
API)