Skip to main content
Module

x/reservator/errors.ts>AlreadyReservedError

🦕 Reservator is used to reserve resources or events with unique keys, and wait for them to be resolved or rejected.
Latest
class AlreadyReservedError
extends Error
import { AlreadyReservedError } from "https://deno.land/x/reservator@v1.0.1/errors.ts";

An error indicating that a reservation with the given key already exists.

Constructors

new
AlreadyReservedError(message: string, key: K)

Type Parameters

K

The type of the reservation key.