DbError = object of IOError
proc dbError(msg: string) {.noreturn, noinline, ...raises: [DbError], tags: [].}