Skip to content

Conversation

@hyp3rd
Copy link
Owner

@hyp3rd hyp3rd commented May 15, 2025

Examples for creating errors with context and logging.

@hyp3rd hyp3rd requested a review from Copilot May 15, 2025 13:35
Copy link
Contributor

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

Adds a new code example demonstrating how to create and log errors with additional context and a custom logger.

  • Introduces ewrap.Newf example with context and severity settings
  • Shows how to attach a logger and call err.Log()
Comments suppressed due to low confidence (1)

docs/docs/getting-started/installation.md:19

  • [nitpick] Include a language identifier on the code fence (e.g., ```go) to enable syntax highlighting in the docs.
</details>

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@hyp3rd hyp3rd merged commit b9426da into main May 16, 2025
7 checks passed
@hyp3rd hyp3rd deleted the feat/sync-docs branch August 19, 2025 09:43
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.

2 participants