RequestUrlErrorConstructorParams
Parameters for the RequestUrlError constructor.
Import:
import type { RequestUrlErrorConstructorParams } from '@mnaoumov/obsidian-lib/request-url';Signature:
export interface RequestUrlErrorConstructorParamsProperties
| Property | Type | Description |
|---|---|---|
| headers | Readonly<Record<string, string>> | The response headers. |
| method | string | The HTTP method. |
| status | number | The status code. |
| text | string | The response body as text. |
| url | string | The URL. |