Package ai.docling.serve.api.validation
Class ValidationError
java.lang.Object
ai.docling.serve.api.validation.ValidationError
Represents a validation error with customizable serialization and deserialization behavior.
This class includes Jackson annotations for JSON handling and Lombok annotations for
boilerplate code generation, such as getters and builder patterns.
It is designed to be used in scenarios where structured validation error
details are required to be captured and processed.
An inner static Builder class is provided for constructing ValidationError instances
using the builder pattern.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for constructing instances of the enclosing class. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull ValidationError.Builderbuilder()A collection of validation error details associated with the validation error.@NonNull ValidationError.Builder@NonNull StringtoString()