Skip to main content

CreateBenefitsProgramResponse

A union representing the possible return types when creating a benefits program

union CreateBenefitsProgramResponse =
| BadRequestError
| CreateBenefitsProgramResult
| InternalServerError

Possible types

CreateBenefitsProgramResponse.BadRequestError object

Returned when there is an error in the request.

CreateBenefitsProgramResponse.CreateBenefitsProgramResult object

The successful result of creating a benefits program

CreateBenefitsProgramResponse.InternalServerError object

Returned when an error is encountered that is not expected.

Returned By

createBenefitsProgram mutation