mirror of
https://github.com/toss/es-toolkit.git
synced 2024-12-11 08:54:07 +03:00
14 lines
298 B
Markdown
14 lines
298 B
Markdown
|
# AbortError
|
||
|
|
||
|
An error class representing an operation that was aborted.
|
||
|
|
||
|
It occurs when operations like [debounce](../function/debounce.md) or [delay](../promise/delay.md) are aborted using `AbortSignal`s.
|
||
|
|
||
|
## Interface
|
||
|
|
||
|
```typescript
|
||
|
class AbortError extends Error {
|
||
|
name = 'AbortError',
|
||
|
}
|
||
|
```
|