BadRequest

interface BadRequest

Describes violations in a client request. This error type focuses on the syntactic aspects of the request.

Types

Link copied to clipboard
interface FieldViolation

A message type used to describe a single bad request field.

Properties

Link copied to clipboard

Describes all violations in a client request.

Functions

Link copied to clipboard
Link copied to clipboard
fun BadRequest.copy(body: <Error class: unknown class>.() -> Unit = {}): BadRequest

Copies the original message, including unknown fields.