Contents Menu Expand Light mode Dark mode Auto light/dark mode Skip to content
PolyAPI documentation
Logo
  • Quickstart
  • Tutorials
    • First integration
    • Event-driven integration
    • Scheduled jobs
    • PolyUI first 10 minutes
  • Platform Overview
  • Platform architecture
  • Concepts
    • How Poly fits together
    • Choosing a Poly resource
    • Context
    • Visibility
    • Events and Triggers
    • Vari vs Tabi vs an external database
  • Functions
    • Server Functions
  • API Function Training
    • Using Postman
    • Using OpenAPI Specs
    • API Function path, query, and header parameters
  • AI Functions
  • Generated SDKs
    • Python
    • TypeScript (Node)
    • Java
    • .NET (Beta)
    • Client Functions
    • TypeScript CLI reference
    • Limits and timeouts
    • Usage and billing
  • Glossary
  • Authentication
    • Authentication model
    • Managing Users and API Keys
    • API Key Permissions
    • Permission Policies
    • Identity Providers
    • Enable MFA for Your Tenant
    • Setting up MFA for your User Account
    • Setting up Single Sign-On
  • Vari Variables
    • Vari Management UI
    • Vari in Your Code
    • Using Variables with Execute Endpoints
    • Variable expiration
  • Tabi Tables
    • Manage Tabi Tables
    • Tabi Row Operations
    • Tabi Limitations
    • Tabi Best Practices
    • Tabi FAQ
  • Jobs
    • Managing Jobs
    • Checking Job Executions
  • API Endpoints (Webhooks)
    • Managing API Endpoints (Webhooks)
    • Webhook URL Parameters
    • Webhook Security Functions
    • Managing Triggers
    • Testing Webhooks
  • GraphQL Subscriptions
    • Managing GraphQL Subscriptions
    • OHIP GraphQL Subscriptions
  • Schemas
    • Creating Schemas
    • Using Schemas
  • Snippets
    • Managing Snippets
    • Using Snippets
  • Environments
    • Managing Environments
    • Promote between environments
  • Project Glide
    • Setup Glide Workflow
    • Gitlab Workflow
    • Supported Resources
    • Manually Preparing and Syncing
    • Using Glide without AI
  • Logging
    • Logs in Canopy UI
    • Logs API
  • Error Handlers
    • errorHandler Module
    • Error Handler Triggers
  • Canopy
    • Using a Canopy Application
    • Create a Canopy UI Application
    • Implementing CRUD Operations in Canopy Applications
    • Enhancing Canopy Applications with APIs
    • Canopy Architecture and Configurations
    • Saved execution requests
  • GitHub Copilot Extension
    • Installing the Copilot Extension
    • Using the Copilot Extension
  • API reference
  • Troubleshooting
  • Versions
  • Next Steps
Back to top

Error HandlersΒΆ

Error handlers let you run custom logic when a Poly function fails.

Two mechanisms:

  • errorHandler Module β€” SDK listener in your process (must stay connected; at-most-once, no replay)

  • Error Handler Triggers β€” Trigger β†’ server function on Poly (always-on)

  • errorHandler Module
  • Error Handler Triggers
Next
errorHandler Module
Previous
Logs API
Copyright © 2026, PolyAPI
Made with Sphinx and @pradyunsg's Furo