Skip to content

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.

Parameter Type
value unknown

boolean