DEV Community

Ramu Narasinga
Ramu Narasinga

Posted on

Error handling in Twenty codebase - part 1.0

Inspired by BulletProof React, I applied its codebase architecture concepts to the Umami codebase.

You might be wondering:

  1. What is Twenty?

  2. What is error handling?

Let’s find out.

What is Twenty?

Twenty is an open-source CRM that gives you the building blocks to create exactly what your business needs.

Main Features

  • Calendar & Emails: Sync your mailbox and calendar to see all communications on your CRM records. Learn more.

  • Data Model: Create custom objects and fields to match your unique business processes. Explore.

  • Data Migration: Import and export your data via CSV or API. Get started.

  • Views & Pipelines: Organize your data with table views, kanban boards, and sales pipelines. Discover.

  • Workflows: Automate your business processes and integrate with external tools. Build automations.

  • AI: Enhance your CRM with AI-powered features and agents. Explore AI.

  • Dashboards: Track performance with custom reports and visualizations. View dashboards.

  • Permissions & Access: Control who can view, edit, and manage your data with role-based permissions. Configure access.

  • Notes & Tasks: Create notes and tasks linked to your records for better collaboration.

  • API & Webhooks: Connect to other apps and build custom integrations. Start integrating.

I copied the above info from the Twenty documentation.

What is error handling?

If you take a look at Bulletproof React’s Error Handling guide, you will find the following sections:

  1. API errors

  2. In App Errors

  3. Error Tracking

We will find out how Twenty has implemented these error handlers in the next articles.

About me:

Hey, my name is Ramu Narasinga. Email: ramu.narasinga@gmail.com

Tired of AI slop?

I spent 3+ years studying OSS codebases and wrote 350+ articles on what makes them production-grade. I built an open source tool that reviews your PR against your existing codebase patterns.

Your codebase. Your patterns. Enforced.

Get started for free —thinkthroo.com

References:

  1. alan2207/bulletproof-react/docs/error-handling.md

  2. twentyhq/twenty

  3. twenty.com

Top comments (0)