LocatedValidationIssue

@Serializable
sealed class LocatedValidationIssue(source)

Validation issue emitted by a form validator or manager containing location information.

A located validation issue can be either a LocatedValidationError or a LocatedValidationWarning.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val code: String

Code representing the issue.

Link copied to clipboard

Additional issue data. This additional data can be used, for example, to help write a user-friendly message associated with the issue.

Link copied to clipboard

Paths of values that the validation that produced this issue depends on.

Link copied to clipboard

Whether the validation that produced this issue depends on the descendants of the validated value.

Link copied to clipboard

External contexts that the validation that produced this issue depends on.

Link copied to clipboard
abstract val path: AbsolutePath

Path of the value containing the issue.

Link copied to clipboard

Severity of the located validation issue.

Functions

Link copied to clipboard

Whether this located validation issue "contains" issue.

Link copied to clipboard

Utility function which converts the paths of a LocatedValidationIssue where table rows are indexed by their index into paths where said rows are indexed by their id in the corresponding table within the provided form value formValue (with schema formSchema).

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