Actually, since JTable is still extending JObject, you can probably just use `$asset->getError()` in place of the database error handler.