Skip to content

Documentation / @tenancy-node/transport-webhook / UnsafeWebhookUrlError

Class: UnsafeWebhookUrlError ​

Defined in: transport-webhook/src/ssrf.ts:5

Base de todos los errores del paquete. Cada error tiene un code estable (por ejemplo TENANCY_TENANT_NOT_FOUND) que se puede usar en lugar del mensaje.

Los errores de dominio no incluyen detalles de infraestructura; esos van al log.

Extends ​

Constructors ​

Constructor ​

new UnsafeWebhookUrlError(url, reason): UnsafeWebhookUrlError

Defined in: transport-webhook/src/ssrf.ts:6

Parameters ​

url ​

string

reason ​

string

Returns ​

UnsafeWebhookUrlError

Overrides ​

TenancyError.constructor

Properties ​

code ​

readonly code: string

Defined in: core/src/domain/errors/tenancy-error.ts:9

Inherited from ​

TenancyError.code


details ​

readonly details: Readonly<Record<string, unknown>> = {}

Defined in: core/src/domain/errors/tenancy-error.ts:11

Inherited from ​

TenancyError.details


url ​

readonly url: string

Defined in: transport-webhook/src/ssrf.ts:7

Publicado bajo la licencia MIT.