ResultWrapper

public class ResultWrapper<T extends Object>

Represents the result of processing a document to get its extractions. Wraps the result of the extraction request with enhanced error information from API v5.0.

Inheritors

Types

Link copied to clipboard
public final class Error<T extends Object> extends ResultWrapper<T>

Request was unable to complete - returns the cause of the error

Link copied to clipboard
public final class Loading<T extends Object> extends ResultWrapper<T>

Request did not complete yet.

Link copied to clipboard
public final class Success<T extends Object> extends ResultWrapper<T>

Request completed successfully and data was returned.