TermsErrorResponse
A rejected terms save or preview.
code is the stable part — the client branches on it. itemIndex and
field are set for a rule that applies to one line, so the editor can
highlight exactly what to fix.
- codeType: stringrequired
Stable machine-readable rule code
- messageType: stringrequired
Human-readable explanation, for a fallback toast
- fieldType: stringnullable
The offending field, for a field-scoped rule. Null otherwise
- itemType: integernullable
Index Position in the request's items array, for a line-scoped rule. Null otherwise

