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) • 347 B
JavaScript
import { DOMException } from "../_internal/DOMException.mjs";
//#region src/error/TimeoutError.ts
/**
* An error class representing a timeout operation.
* @augments DOMException
*/
var TimeoutError = class extends DOMException {
constructor(message = "The operation was timed out") {
super(message);
}
};
//#endregion
export { TimeoutError };