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

chore: use the .value() syntax in the ThrowOnErrors example #1109

Merged
merged 1 commit into from
Jan 19, 2024

Commits on Jan 18, 2024

  1. chore: use the .value() syntax in the ThrowOnErrors example

    The combination of the new `.value()` accessors and the `WithThrowOnErrors`
    config allows users to write code that doesn't do any `instanceof` checks.
    That is probably the more idiomatic combination for cases where users are
    doing `ThrowOnError`. This commit updates the ThrowOnError example code
    to use `.value()`, accordingly.
    cprice404 committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    5f2ce67 View commit details
    Browse the repository at this point in the history