QueryRequestException

class QueryRequestException(val errorMsg: String, val code: String, name: String = BODY, cause: Throwable? = null, val violation: QueryViolation? = null) : IllegalArgumentException, ErrorInfo

A query request the client got wrong: IllegalArgument with the human errorMsg and one binding error 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); decoding errors state only a code.

Constructors

Link copied to clipboard
constructor(errorMsg: String, code: String, name: String = BODY, cause: Throwable? = null, violation: QueryViolation? = null)
constructor(violation: QueryViolation)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val bindingErrors: List<BindingError>
Link copied to clipboard
Link copied to clipboard
open override val errorCode: String
Link copied to clipboard
open override val errorMsg: String
Link copied to clipboard