Check a return value in the SRP code