Remove use of deprecated getPossibleErrors (since 1.24)

Change-Id: I34111073384f0ccec2186bdd70ad308fbf800a37
Merge "Remove use of deprecated getPossibleErrors (since 1.24)"