itd-api / ErrorContextHook
Interface: ErrorContextHook
Defined in: core/options.ts:141
Данные об ошибке запроса.
Extends
Properties
attempt
ts
attempt: number;Defined in: core/options.ts:128
Номер попытки, начиная с 1.
Inherited from
duration
ts
duration: number;Defined in: core/options.ts:142
error
ts
error: unknown;Defined in: core/options.ts:143
headers
ts
headers: Headers;Defined in: core/options.ts:126
Inherited from
method
ts
method: string;Defined in: core/options.ts:121
Inherited from
operationId
ts
operationId: OperationId;Defined in: core/options.ts:118
Стабильная семантическая операция; raw у низкоуровневого вызова без явного ID.
Inherited from
path
ts
path: string;Defined in: core/options.ts:123
Путь без базового URL, например /api/posts.
Inherited from
signal
ts
signal: AbortSignal | undefined;Defined in: core/options.ts:120
Общий сигнал пользовательской отмены, timeout и освобождения клиента.
Inherited from
url
ts
url: string;Defined in: core/options.ts:125
Итоговый URL со строкой запроса.