Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Copilot-generated] Add support for the cause property in error pretty printing #161

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arcanis
Copy link
Owner

@arcanis arcanis commented May 2, 2024

This is mostly a test to see how well Copilot works.

Adds support for handling the cause property of errors in the error formatting logic of the Cli class, enabling the display of nested error information.

  • Error Formatting Enhancement: Modifies the error method to recursively handle the cause property of errors. This allows for the display of nested error information, providing more context on the error cause.
  • Recursive Error Handling: Implements recursive error handling to ensure deeply nested errors are formatted and displayed correctly.

For more details, open the Copilot Workspace session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant