QueryErrors
The framework error codes of the query side, as the edge answers them:
MALFORMED (400): the request body cannot be read as a query;
INVALID (400): the query breaks a rule; each violation carries its stable code, such as
UNKNOWN_FIELD(me.ahoo.wow.api.query.QueryErrorCodes);FAILED (500): a query the caller got right that the server failed to run;
TIMEOUT (504, no
Retry-After): the query ran out of its execution time; running it again would run as long;STORAGE_UNAVAILABLE (503): the storage could not be reached or did not answer in time; the same query may pass later.
MIN_VERSION_NOT_REACHED (409, with
Retry-After): a state read asked for a version the aggregate has not reached within its wait (me.ahoo.wow.api.read.MinVersionNotReachedException);BUSY (429, with
Retry-After): the query's store already runs as many queries as its bulkhead allows (QueryBulkhead); the query was not run, and the same query may pass later.DATASET_UNAVAILABLE (409): the dataset is served but cannot be queried now, such as one whose definition needs revision (7.2b-2); the problem names the reason, in fixed words.
They are the codes of FrameworkErrors, whose table gives each its HTTP status; a caller the query scope does not admit is answered with FORBIDDEN.
Properties
A dataset that is not served, or not to the caller.
A state read of a minimum version the aggregate has not reached.
An aggregation that names no sort found more groups than its limit.