interface RetryErrorInfo {
    error?: SdkError;
    errorType: RetryErrorType;
    retryAfterHint?: Date;
}

Properties

error?: SdkError

The error thrown during the initial request, if available.

errorType: RetryErrorType
retryAfterHint?: Date

Protocol hint. This could come from Http's 'retry-after' header or something from MQTT or any other protocol that has the ability to convey retry info from a peer.

The Date after which a retry should be attempted.