CRDB Errors #46
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://wiki.crdb.io/wiki/spaces/CRDB/pages/1676804870/Error+concepts+and+handling+in+CockroachDB
handle type assertion failures gracefully with an error, instead of letting Go generate a panic
avoid panics generally, unless in an init function or in a package that uses a disciplined panic-based error handling protocol (and converts panics to errors)
Only construct errors when needed.
Add hints, details, etc to strucutured logging.
Error text is not stable.