PermanentWebhookError

anon.li · payments, stripe-webhooks, error-handling, webhook-retries

Custom error for non-retryable Stripe webhook failures, preventing unnecessary retries.

class PermanentWebhookError extends Error {
    constructor(message: string) {
        super(message)
        this.name = "PermanentWebhookError"
    }
}

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key