CreateBenefitResponse
A union representing the possible return types when creating a benefit
union CreateBenefitResponse =
  | BadRequestError
  | CreateBenefitResult
  | InternalServerError
Possible types
CreateBenefitResponse.BadRequestError object
Returned when there is an error in the request.
CreateBenefitResponse.CreateBenefitResult object
The successful result of creating a benefit
CreateBenefitResponse.InternalServerError object
Returned when an error is encountered that is not expected.
Returned By
createBenefit mutation