Use controller return values as error codes.