RecordQueryErrorKind
@gravity-rail/react / RecordQueryErrorKind
Type Alias: RecordQueryErrorKind
RecordQueryErrorKind =
"validation"|"access"|"cost_exceeded"|"request_failed"
What went wrong with a query request, from the status and body the server
sends (lib/routes/workspace/queries.py):
validation: 400, the query is invalid (unknown field, operator not legal for the field, too large); or 422Validation failed, the request body does not fit the query schema (errorslists each problem).access: 403, the session lacks a scope or field access the query needs; seerequiredScope.cost_exceeded: 422 with aquery cost N exceeds budget Mdetail. Add awhereor a smallerlimit.request_failed: any other failure (for example 401, 5xx).