Package ai.docling.serve.api.validation
Class ValidationErrorDetail
java.lang.Object
ai.docling.serve.api.validation.ValidationErrorDetail
Represents detailed information about a validation error.
This class provides structured data associated with a validation error,
including the locations of the error, an error message, the type of
validation error, and the input causing the error.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for constructing instances of the enclosing class. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull ValidationErrorDetail.Builderbuilder()@NonNull ValidationErrorContextRepresents the context information associated with a validation error.@Nullable ObjectgetInput()Represents the input causing the validation error.Represents the specific locations associated with a validation error.@Nullable StringRepresents an optional validation error message.@Nullable StringgetType()Represents the type of validation error.@NonNull ValidationErrorDetail.Builder@NonNull StringtoString()
-
Method Details
-
builder
-
toBuilder
-
getLocations
Represents the specific locations associated with a validation error.- Returns:
- the specific locations associated with a validation error
-
getMessage
Represents an optional validation error message.- Returns:
- the optional validation error message
-
getType
Represents the type of validation error.- Returns:
- the type of validation error
-
getInput
Represents the input causing the validation error.- Returns:
- the input causing the validation error
-
getContext
Represents the context information associated with a validation error.- Returns:
- the context information associated with a validation error
-
toString
-