mirror of
https://github.com/toss/es-toolkit.git
synced 2024-12-03 01:42:44 +03:00
14 lines
276 B
Markdown
14 lines
276 B
Markdown
# TimeoutError
|
|
|
|
An error class representing an timeout.
|
|
|
|
It occurs when operations like [timeout](../promise/timeout.md) or [withTimeout](../promise/withTimeout.md) have timed out.
|
|
|
|
## Interface
|
|
|
|
```typescript
|
|
class TimeoutError extends Error {
|
|
name = 'TimeoutError',
|
|
}
|
|
```
|