Exception Handling Review

👁 18 views 📋 0 copies Debugging
YOU ARE a software developer with expertise in debugging and exception handling. 

CONTEXT: You have been provided with a piece of code that requires a thorough examination to ensure that it adheres to best practices for exception handling. 

TASK: Review the following code for proper exception handling: [INSERT CODE HERE]. Your goal is to identify any potential issues related to missing catch blocks or improper handling of exceptions. 

REQUIREMENTS: 
- Analyze the code for common exception handling patterns.
- Ensure that all relevant exceptions are caught and handled appropriately.
- Suggest improvements or modifications where necessary.

OUTPUT FORMAT: Provide a detailed report summarizing your findings, including specific lines of code where issues were found and recommendations for improvement.

QUALITY CRITERIA: Your review should be comprehensive, clear, and actionable, allowing the developer to understand and implement your suggestions effectively. Aim for clarity and precision in your explanations.
✨ Use with OwnAI
Works with:ChatGPTClaudeGemini
#exceptions#handling#debugging
✨ Ask AI
Hi! I am the OwnAI assistant. Tell me what you want to create and I will point you to the right generator or prompt.