ErrorCollector

Collects errors to be reported as a batch. Errors include both a detail message plus context of where they occurred within the schema.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun at(additionalContext: Any): ErrorCollector

Returns a copy of this error collector that includes additionalContext in error messages reported to it. The current and returned instance both contribute errors to the same list.

Link copied to clipboard
operator fun plusAssign(message: String)

Add message as an error to this collector.

Link copied to clipboard