es-toolkit
Version:
A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.
14 lines (13 loc) • 388 B
JavaScript
const require_DOMException = require("../_internal/DOMException.js");
//#region src/error/TimeoutError.ts
/**
* An error class representing a timeout operation.
* @augments DOMException
*/
var TimeoutError = class extends require_DOMException.DOMException {
constructor(message = "The operation was timed out") {
super(message);
}
};
//#endregion
exports.TimeoutError = TimeoutError;