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.
Learn how errors are handled throughout your application. Identify inconsistencies and gaps in error handling.
For GitLab Duo
How does our codebase handle [TYPE OF ERROR]? Show me the pattern we use and any inconsistencies.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.
Your application keeps reverting to the light theme, even though you saved a different preference. A settings loader might be hiding the error that would explain why. You can ask Duo to compare the loaders, then try a few settings files to see whether its explanation matches what happens.
Explore the example