Skip to main content

UpdateBenefitResponse

A union representing the possible return types when updating a benefit

union UpdateBenefitResponse =
| BadRequestError
| InternalServerError
| UpdateBenefitResult

Possible types​

UpdateBenefitResponse.BadRequestError object​

Returned when there is an error in the request.

UpdateBenefitResponse.InternalServerError object​

Returned when an error is encountered that is not expected.

UpdateBenefitResponse.UpdateBenefitResult object​

The successful result of updating a benefit

Returned By​

updateBenefit mutation