QueryError

interface QueryError

A query error as the edge answers it: its framework errorCode (a FrameworkCodes.QUERY_* code, or the code a read authorizer refused with), its message and the violations of the request, each the rule a rejected request broke and where, as a problem's violations carry them.

Inheritors

Properties

Link copied to clipboard
abstract val errorCode: String

The framework code the edge answers with.

Link copied to clipboard
abstract val message: String

The text the caller is answered with: it names what failed without internal detail.

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.