public class SdkJsonErrorMessageParser extends Object implements ErrorMessageParser
| Modifier and Type | Field and Description |
|---|---|
static SdkJsonErrorMessageParser |
DEFAULT_ERROR_MESSAGE_PARSER
Standard JSON Error Message Parser that checks for JSON fields in this order: 'message',
'Message', 'errorMessage'
|
| Modifier and Type | Method and Description |
|---|---|
String |
parseErrorMessage(SdkHttpFullResponse httpResponse,
JsonNode jsonNode)
Parse the error message from the response.
|
public static final SdkJsonErrorMessageParser DEFAULT_ERROR_MESSAGE_PARSER
public String parseErrorMessage(SdkHttpFullResponse httpResponse, JsonNode jsonNode)
parseErrorMessage in interface ErrorMessageParserCopyright © 2022. All rights reserved.