Skip to content

basalt / webhooks/src / WebhookEndpointNotFoundError

Class: WebhookEndpointNotFoundError ​

Defined in: webhooks/src/index.ts:89

Thrown by WebhookManager.rotateSecret when the endpoint does not exist in the caller's scope.

Extends ​

  • Error

Constructors ​

Constructor ​

> new WebhookEndpointNotFoundError(id): WebhookEndpointNotFoundError

Defined in: webhooks/src/index.ts:92

Parameters ​

id ​

string

Returns ​

WebhookEndpointNotFoundError

Overrides ​

Error.constructor

Properties ​

code ​

> readonly code: "WEBHOOK_ENDPOINT_NOT_FOUND" = 'WEBHOOK_ENDPOINT_NOT_FOUND'

Defined in: webhooks/src/index.ts:90


status ​

> readonly status: 404 = 404

Defined in: webhooks/src/index.ts:91

Released under the MIT License.