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