$chiubaca / notes / fleeting / 2021-08-23
  • Learning a more about error handling in GQL.
    • group your errors into categories. system errors and expected errors
    • expected errors can be handled ahead of time giving better UX
    • build errors into the schema and use union types to handle different conditions
Edit on GitHub ✏️

Hey I'm Alex Chiu 👋. These are my notes for literally anything.

I'm using the Zettelkasten method to organise my thoughts here.

My more polished writings are published to my main blog at chiubaca.com

Follow me on: Github / X (Twitter) / Mastodon / LinkedIn