Update README.md

This commit is contained in:
Anton Nesterov 2024-10-17 07:24:15 +02:00 committed by GitHub
parent b56dcd0639
commit 1f799bbf13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,9 +1,13 @@
# Grip
[A take on Go Style Error Handling In JavaScript](https://dev.to/nesterow/a-take-on-go-style-error-handling-in-javascript-577)
Simplified result/error handling for JavaScript.
Grip always returns a consistent call result ready to be handled.
It makes the control flow similar to that of Golang, but doesn't force you to make additional null checks or create transitional variables to hold error results.
Instead of returning a nullish error, Grip always returns a consistent status object:
```javascript