Skip to main content

BenefitResponse

A union representing the possible return types when querying for a benefit

union BenefitResponse = BadRequestError | Benefit | InternalServerError

Possible types

BenefitResponse.BadRequestError object

Returned when there is an error in the request.

BenefitResponse.Benefit object

A Benefit offered to an individual in a Benefits Program

BenefitResponse.InternalServerError object

Returned when an error is encountered that is not expected.

Returned By

benefit query