Class ErrorItem
java.lang.Object
ai.docling.serve.api.convert.response.ErrorItem
Represents an individual error produced during document conversion.
Serialization uses JsonInclude.Include.NON_EMPTY, so nulls and empty
strings are omitted from JSON output.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull ErrorItem.Builderbuilder()Type of Docling component that encountered the error.Error message describing what went wrong.Name of the module where the error occurred.@NonNull ErrorItem.Builder@NonNull StringtoString()
-
Method Details
-
builder
-
toBuilder
-
getComponentType
Type of Docling component that encountered the error.- Returns:
- the component type
-
getErrorMessage
Error message describing what went wrong.- Returns:
- the error message
-
getModuleName
Name of the module where the error occurred.- Returns:
- the module name
-
toString
-