BindingError

data class BindingError(val name: String, val msg: String) : Named

Represents a field-level error that occurred during data binding or validation.

Binding errors provide detailed information about validation failures at the individual field level, typically used in form validation, API request processing, or data transformation operations. Each error is associated with a specific field name and contains a descriptive error message.

See also

for how binding errors are used in error responses

Samples

Constructors

Link copied to clipboard
constructor(name: String, msg: String)

Properties

Link copied to clipboard
val msg: String

A human-readable message describing the validation error

Link copied to clipboard
open override val name: String

The name of the field or property that failed validation