QueryRequestException
class QueryRequestException(val message: String, val code: String, name: String = BODY, cause: Throwable? = null, val violation: QueryViolation? = null, problem: String? = null) : IllegalArgumentException, QueryError
A query request the client got wrong: IllegalArgument with the human message and one violation naming where (name, a JSON path or body) and which rule (code, stable and machine-readable). violation is the catalog entry it renders, when the rule is one (QueryViolation.Kind.REQUEST): the request is then invalid. Decoding errors state only a code: the request is malformed.
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
Where and which rule a rejected request broke: its Violation.path (a JSON path, the absolute logical field, "" for the model, or body) and its Violation.code (me.ahoo.wow.api.query.QueryErrorCodes); empty for a server fault or a refusal of the caller.