itd-api / ErrorContextHook
Interface: ErrorContextHook
Defined in: core/options.ts:134
Данные об ошибке запроса.
Extends
Properties
attempt
ts
readonly attempt: number;Defined in: core/options.ts:121
Номер попытки, начиная с 1.
Inherited from
duration
ts
readonly duration: number;Defined in: core/options.ts:135
error
ts
readonly error: unknown;Defined in: core/options.ts:136
headers
ts
readonly headers: Headers;Defined in: core/options.ts:119
Inherited from
method
ts
readonly method: string;Defined in: core/options.ts:114
Inherited from
operationId
ts
readonly operationId: OperationId;Defined in: core/options.ts:111
Стабильная семантическая операция; raw у низкоуровневого вызова без явного ID.
Inherited from
path
ts
readonly path: string;Defined in: core/options.ts:116
Путь без базового URL, например /api/posts.
Inherited from
signal
ts
readonly signal: AbortSignal | undefined;Defined in: core/options.ts:113
Общий сигнал пользовательской отмены, истёкших сроков и освобождения клиента.
Inherited from
url
ts
readonly url: string;Defined in: core/options.ts:118
Итоговый URL со строкой запроса.