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

Properties

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.

Returns

the Date after which a retry should be attempted.