ClientErrorContext

class ClientErrorContext(val key: String, val value: String)

Describes additional context about an error which may be useful in client-side debugging. This information will be included in exception messages. This contrasts with ErrorMetadata which is not necessarily included in messages and not necessarily client-related.

Parameters

key

A header or key for the information

value

A value for the information

Constructors

Link copied to clipboard
constructor(key: String, value: String)

Properties

Link copied to clipboard

Gets a formatted representation of this error context suitable for inclusion in a message. This format is generally "$key: $value".

Link copied to clipboard
val key: String
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String