Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 5, 2025

This PR improves the scannability of the Visual Basic error messages table of contents by replacing long descriptive error message names with concise error codes and specific error type designations.

Problem

The VB error messages TOC used lengthy descriptive names that made it difficult to quickly scan and locate specific errors, and had duplicate "Runtime error" entries without numeric codes.

Changes Made

  • Traditional VB Runtime Errors: Added specific numeric codes (e.g., "Runtime Error 322", "Runtime Error 449", "Runtime Error 440")
  • Application Framework Errors: Replaced generic "Runtime error" entries with specific error types:
    • "Application startup error" for VB.NET application framework startup issues
    • "File I/O error" for .NET file system operation errors
  • Eliminated Duplicates: Removed duplicate generic "Runtime error" entries that lacked proper identification

This approach distinguishes between traditional VB6-style numbered runtime errors and modern .NET application framework errors, improving both scannability and accuracy while eliminating confusion from duplicate entries.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Internal previews

📄 File 🔗 Preview link
docs/visual-basic/toc.yml docs/visual-basic/toc

@dotnet-policy-service dotnet-policy-service bot added the okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings. label Sep 5, 2025
@Copilot Copilot AI changed the title [WIP] VB error reference Improve VB error reference TOC scannability by using error codes instead of descriptive messages Sep 5, 2025
@Copilot Copilot AI requested a review from BillWagner September 5, 2025 21:22
Copilot finished work on behalf of BillWagner September 5, 2025 21:22
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

This LGTM.

This is ready for final review.

@BillWagner BillWagner marked this pull request as ready for review September 8, 2025 18:21
@BillWagner BillWagner requested a review from a team as a code owner September 8, 2025 18:21
@BillWagner BillWagner requested a review from gewarren September 8, 2025 18:21
Co-authored-by: Genevieve Warren <[email protected]>
@Copilot Copilot AI changed the title Improve VB error reference TOC scannability by using error codes instead of descriptive messages Improve VB error reference TOC scannability by using error codes and specific error types Sep 9, 2025
@Copilot Copilot AI requested a review from BillWagner September 9, 2025 15:26
Copilot finished work on behalf of BillWagner September 9, 2025 15:26
@BillWagner BillWagner enabled auto-merge (squash) September 9, 2025 15:35
@BillWagner BillWagner merged commit 6ca2c1e into main Sep 9, 2025
10 checks passed
@BillWagner BillWagner deleted the copilot/fix-21060 branch September 9, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-visualbasic/svc okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants