Skip to content

Conversation

Yash456k
Copy link
Contributor

@Yash456k Yash456k commented Oct 2, 2025

Description

This pull request introduces a new, comprehensive documentation page for Exception Handling in Python.

Fixes #658

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • Other (please specify):

Changes Made

  • Created a new documentation file at docs/python/python-exceptions.md.
  • Added detailed explanations, code examples, and best practices for try, except, else, and finally.
  • Structured the content to follow the existing style and format of the documentation.

Dependencies

  • There are no new dependencies required for this change.

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers and devices
  • My changes do not generate new console warnings or errors .
  • I ran npm run build and attached screenshot(s) in this PR.
  • This is already assigned Issue to me, not an unassigned issue.
image

@Copilot Copilot AI review requested due to automatic review settings October 2, 2025 10:14
Copy link

vercel bot commented Oct 2, 2025

@Yash456k is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added level 1 10 points recode this is label for leaderboard labels Oct 2, 2025
Copy link

github-actions bot commented Oct 2, 2025

Synced data from Linked Issues

Labels:

  • enhancement
  • level 1
  • recode
  • hacktoberfest-accepted

Assignees:

  • Yash456k

Milestones:

  • recode:launch 3.0

Copy link

github-actions bot commented Oct 2, 2025

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request introduces comprehensive documentation for Exception Handling in Python, addressing issue #658. The documentation provides detailed explanations and code examples for Python's exception handling mechanisms including try/except blocks, error types, custom exceptions, and best practices.

Key Changes:

  • Created a complete documentation page for Python exception handling concepts
  • Added the new documentation to the project sidebar navigation
  • Structured content with practical examples and best practices

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docs/python/python-errors-and-exceptions.md New comprehensive documentation covering try/except blocks, error types, custom exceptions, and practical examples
sidebars.ts Added navigation entry for the new exception handling documentation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

else,
raise,
Python Syntax,
Introduction of python,
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tag should be 'Introduction to Python' instead of 'Introduction of python' for proper grammar.

Suggested change
Introduction of python,
Introduction to Python,

Copilot uses AI. Check for mistakes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disagree, since every other python doc uses the tag Introduction of python as well , which is why I have used it. This simply ensures consistency.

Copy link

vercel bot commented Oct 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
recode-website Ready Ready Preview Comment Oct 2, 2025 10:46am

@sanjay-kv sanjay-kv moved this to In Progress in @recode-web Oct 2, 2025
@sanjay-kv sanjay-kv added this to the recode:launch 3.0 milestone Oct 2, 2025
@sanjay-kv sanjay-kv merged commit 8aee584 into recodehive:main Oct 2, 2025
6 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in @recode-web Oct 2, 2025
@Yash456k Yash456k deleted the add-python-errors-and-exceptions-to-python-section branch October 2, 2025 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc25 hacktoberfest-accepted level 1 10 points recode this is label for leaderboard

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

💡[Feature]: Add Python Exception Handling (try...except)

2 participants