GitLab Well Architected
Cookbook navigation
Prompts / Understand Error Handling Patterns

Understand Error Handling Patterns

Code UnderstandingDeveloperQuality-AssuranceStandardsCreateBeginner

Learn how errors are handled throughout your application. Identify inconsistencies and gaps in error handling.

For GitLab Duo

prompt

How does our codebase handle [TYPE OF ERROR]? Show me the pattern we use and any inconsistencies.

Use the prompt

Name the error and share the relevant handlers. Comparing more than one caller can show whether differences are intentional or a source of inconsistent behavior.