-
Notifications
You must be signed in to change notification settings - Fork 12
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
ZogErr Value() doesn't return underlying value #77
Conversation
ZogErr Value() returns itself (a func) instead of the value that caused the error as described in the docs
WalkthroughThis pull request corrects the field accessed in the Value() method of the ZogErr struct defined in internals/errors.go. The return expression has been changed from e.Value to e.Val to ensure that the proper struct field is referenced. No additional changes or modifications to public entities were introduced. Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Thanks for catching that! |
ZogErr Value() returns itself (a func) instead of the value that caused the error as described in the docs
Summary by CodeRabbit