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.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.