```class SomeWrappingDriver(val delegate: SqlDrive...
# squarelibraries
s
Copy code
class SomeWrappingDriver(val delegate: SqlDriver) : SqlDriver by delegate {
  override fun execute(…): QueryResult<Long> {
    try {
      return delegate.execute(…)
    } catch (e: SQLiteException) {
      // todo: report this error
    }
  }
}