PreconditionFailure

Describes what preconditions have failed.

For example, if an RPC failed because it required the Terms of Service to be acknowledged, it could list the terms of service violation in the PreconditionFailure message.

Types

Link copied to clipboard
interface Violation

A message type used to describe a single precondition failure.

Properties

Link copied to clipboard

Describes all precondition violations.

Functions

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

Copies the original message, including unknown fields.