TimeoutError.ts
This file
Path
source/errors/TimeoutError.ts
9 lines · 193 bytes · TypeScript
Last changed by
Minor tweaksSindre Sorhusbefore adoption453846e
History of this fileTake it
12345678910export class TimeoutError extends Error { public request: Request;
constructor(request: Request) { super('Request timed out'); this.name = 'TimeoutError'; this.request = request; }}