AWSHttpException constructor
AWSHttpException(
- AWSBaseHttpRequest request, [
- Object? underlyingException
Exception thrown when an error occurs during an AWSHttpOperation.
Implementation
factory AWSHttpException(
AWSBaseHttpRequest request, [
Object? underlyingException,
]) {
if (underlyingException is AWSHttpException) {
return underlyingException;
}
return AWSHttpException._(
request.method,
request.uri,
underlyingException,
);
}