Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/async/retry.ts>RetryError

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class RetryError
extends Error
import { RetryError } from "https://deno.land/std@0.216.0/async/retry.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.