Consistent error handling for methods (percona, ddl, ddlonline).

Change-Id: Ibeb1e8d1a5e8ce9d644168185396595645f11cd4