Added method metadata to db.Task. db.Task.error handles exception and traceback arguments.