UNPKG

@gamestdio/timer

Version:

Timing Events tied to @gamestdio/clock

13 lines (12 loc) 416 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TimerClearedError = void 0; /** * An error that occurs when the promise of a {@link Clock.duration} is rejected because the timer has been cleared by the clock instance. */ class TimerClearedError extends Error { constructor() { super("Timer has been cleared"); } } exports.TimerClearedError = TimerClearedError;