Error

public class Error

Used by the GiniCaptureNetworkService and GiniCaptureNetworkApi to return error messages.

Constructors

Link copied to clipboard
public void Error(@NonNull() String message)
Create a new error.
Link copied to clipboard
public void Error(@NonNull() String message, @NonNull() Throwable cause)
Create a new error with a cause.
Link copied to clipboard
public void Error(Integer statusCode, Map<String, List<String>> headers, Throwable exception)
Create a new error with status code and headers.
Link copied to clipboard
public void Error(FileImportValidator.Error fileImportErrors)
Create a new error for file handling

Functions

Link copied to clipboard
Link copied to clipboard
public FileImportValidator.Error getFileImportErrors()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard