API: Fix possible error list to avoid 'Unknown error' on paraminfo

Also add a missing one.
The error text must be repeated in the possible error list.

Change-Id: Id6ab454012bb0aacab323ece96336b768ca1d4f9
Merge "API: Fix possible error list to avoid 'Unknown error' on paraminfo"