Blueprint-uServices / blueprint

Blueprint Microservices Compiler: Flexible and Configurable Open-Source Microservice Benchmark Applications
https://blueprint-uservices.github.io
BSD 3-Clause "New" or "Revised" License
21 stars 5 forks source link

[Quality of Life] Remove all usage of fmt.Errorf, use errors.Errorf (in runtime code) or blueprint.Errorf (in compiler code) instead #116

Open JonathanMace opened 11 months ago

JonathanMace commented 11 months ago

errors.Errorf creates errors with stack traces; fmt.Errorf does not.

In most cases stack traces are useful. This issue is to go over the code base, changing the use of fmt.Errorf to errors.Errorf or blueprint.Errorf where appropriate.