UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

14 lines (9 loc) 336 B
'use strict'; Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const DOMException = require('../_internal/DOMException.js'); class TimeoutError extends DOMException.DOMException { constructor(message = 'The operation was timed out') { super(message); } } exports.TimeoutError = TimeoutError;