Interface WebhookOptions

Hierarchy

  • WebhookOptions

Properties

Properties

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

Type declaration

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

      Parameters

      • error: Error

      Returns void | Promise<void>

      Default

      console.error
      

Generated using TypeDoc