FormRecognizerError Class

  • java.lang.Object
    • com.azure.ai.formrecognizer.models.FormRecognizerError

public final class FormRecognizerError

The FormRecognizerError model.

Constructor Summary

Constructor Description
FormRecognizerError(String errorCode, String message)

Constructs a FormRecognizerError object.

Method Summary

Modifier and Type Method and Description
String getErrorCode()

Get the code property.

String getMessage()

Get the message property.

Methods inherited from java.lang.Object

Constructor Details

FormRecognizerError

public FormRecognizerError(String errorCode, String message)

Constructs a FormRecognizerError object.

Parameters:

errorCode - The error code property.
message - The message property.

Method Details

getErrorCode

public String getErrorCode()

Get the code property.

Returns:

the error code value returned by the service.

getMessage

public String getMessage()

Get the message property.

Returns:

the message value returned by the service.

Applies to