Skip to main content

CreateDivisionResponse

A union representing the possible return types when creating a Division

union CreateDivisionResponse =
| CreateDivisionResult
| BadRequestError
| InternalServerError

Possible types

CreateDivisionResponse.CreateDivisionResult object

The successful result of creating a Division

CreateDivisionResponse.BadRequestError object

Returned when there is an error in the request.

CreateDivisionResponse.InternalServerError object

Returned when an error is encountered that is not expected.

Returned By

createDivision mutation