isTransientFailure
isTransientFailure(
value):boolean
Whether a settled answer or error is a failure retryRequest would try again, or a DisTubeError marked transient.
A caller sets transient: isTransientFailure(answerOrError) on the DisTubeError it throws.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
value |
unknown |
Returns
Section titled “Returns”boolean