FieldError

@Serializable
data class FieldError(val path: String, val message: String, val severity: ValidationSeverity, val code: String)(source)

A field-addressable validation issue.

path uses a dotted, UI-friendly form such as experimentRunParameters.lengthOfReplication or controls.string.Server.routingPolicy.value. Collection entries use bracket notation, for example rvOverrides[0].paramName.

Constructors

Link copied to clipboard
constructor(path: String, message: String, severity: ValidationSeverity, code: String)

Properties

Link copied to clipboard

stable machine-readable code for GUI mapping and tests

Link copied to clipboard

human-readable explanation

Link copied to clipboard

dotted path to the offending field

Link copied to clipboard

whether the issue blocks running