public interface HttpOperationError
Modifier and Type | Method and Description |
---|---|
HttpOperationErrorType |
getHttpOperationErrorType()
Type of error during an HTTP operation execution.
|
HttpResponse<String> |
getHttpResponse()
Result of HTTP operation execution when there is an error.
|
String |
getMessage()
Returns a human-readable error message.
|
HttpOperationErrorType getHttpOperationErrorType()
String getMessage()
An error message of this form should not be used to make programmatic decisions.
HttpResponse<String> getHttpResponse()
For HttpOperationErrorType.TIMEOUT
or HttpOperationErrorType.CONNECTION_FAILED
,
this returns null.
HttpOperationErrorType.TIMEOUT
or HttpOperationErrorType.CONNECTION_FAILED
Copyright © Veeva Systems 2017–2021. All rights reserved.