rMW4e6810e4a2c1: API: i18n for warnings and errors deprecated several things in the API. The relevant deprecations here are:
- ApiBase::dieUsage() replaced with ApiBase::dieWithError()
- ApiBase::setWarning() replaced with ApiBase::addWarning()
- ApiBase::getErrorFromStatus() replaced with ApiErrorFormatter::arrayFromStatus()
- UsageException replaced with ApiUsageException (Gerrit change 327545 seems to be working on this one)
Gerrit change 321464 has some more details on possible replacements for the use of the ApiBase methods in your ApiErrorReporter class. The interface being added in Gerrit change 325984 might also be handy.