Interface WebhookOptions

Hierarchy

  • WebhookOptions

Properties

Properties

error?: ((error: Error) => void | Promise<void>)

Type declaration

    • (error: Error): void | Promise<void>
    • Handles an error created by the function passed to Webhook.listener()

      Default

      console.error

      Parameters

      • error: Error

      Returns void | Promise<void>

Generated using TypeDoc