thegreenwebfoundation / grid-intensity-go

A tool written in go to help you factor carbon intensity into decisions about where and when to run computing jobs.
Apache License 2.0
65 stars 7 forks source link

Revisit CLI and error message copy #51

Open rossf7 opened 2 years ago

rossf7 commented 2 years ago

Follow up to https://github.com/thegreenwebfoundation/grid-intensity-go/pull/49/files#r935719541

We should revisit the copy we're using in the CLI and error messages for consistency and best practices.

We could also investigate using an errors library like juju. https://github.com/juju/errors

This is to ensure we have good stack traces for debugging. As we add more functionality and providers this becomes more important and will make it easier for external contributors to work on the codebase.