Skip to main content
Module

x/reservator/errors.ts>NoReservationError

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

An error indicating that no reservation with the given key exists.

Constructors

new
NoReservationError(message: string, key: K)

Type Parameters

K

The type of the reservation key.