Don't wrongly interpret return value as error code
Strings for RAPI errors
Use const for 'rapi' name