Skip to main content
Module

std/async/mod.ts>RetryError

Deno standard library
Go to Latest
class RetryError
extends Error
import { RetryError } from "https://deno.land/std@0.216.0/async/mod.ts";

Error thrown in retry once the maximum number of failed attempts has been reached.

Constructors

new
RetryError(cause: unknown, attempts: number)

Constructs a new RetryError instance.