Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information