Skip to content

RequestUrlErrorConstructorParams

Parameters for the RequestUrlError constructor.

Import:

import type { RequestUrlErrorConstructorParams } from '@mnaoumov/obsidian-lib/request-url';

Signature:

export interface RequestUrlErrorConstructorParams

Properties

PropertyTypeDescription
headersReadonly<Record<string, string>>The response headers.
methodstringThe HTTP method.
statusnumberThe status code.
textstringThe response body as text.
urlstringThe URL.