LeaveValidationError
Returned when the leave request was rejected for a business reason rather than a transport or permission failure.
type LeaveValidationError {
code: LeaveValidationErrorCode!
message: String!
field: String
}
Fields
LeaveValidationError.code ● LeaveValidationErrorCode! non-null enum
The machine-readable reason the request was rejected.
LeaveValidationError.message ● String! non-null scalar
A human-readable explanation, safe to show a merchant.
LeaveValidationError.field ● String scalar
The input field the problem belongs to, when it belongs to exactly one.
Implemented By
RequestLeaveResult union