Define the annotation of return value of getErrorForUser method