public class SdkJsonErrorMessageParser extends Object implements ErrorMessageParser
| Modifier and Type | Field and Description | 
|---|---|
| static SdkJsonErrorMessageParser | DEFAULT_ERROR_MESSAGE_PARSERStandard 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,
                 SdkJsonNode jsonNode)Parse the error message from the response. | 
public static final SdkJsonErrorMessageParser DEFAULT_ERROR_MESSAGE_PARSER
public String parseErrorMessage(SdkHttpFullResponse httpResponse, SdkJsonNode jsonNode)
parseErrorMessage in interface ErrorMessageParserCopyright © 2020. All rights reserved.