bencherdev / bencher

🐰 Bencher - Continuous Benchmarking
https://bencher.dev
Other
500 stars 22 forks source link

Create more useful error messages from the API server #449

Open epompeii opened 1 month ago

epompeii commented 1 month ago

Currently the API server gives rather terse error messages. Improve on this to give Elm/Rust style error messages. The current message format should be the "full" context for a more user friendly error message.

These improvements could also benefit the Bencher Console once https://github.com/bencherdev/bencher/issues/208 is implemented.

glevco commented 1 month ago

Example: it should display something like User X doesn't have permission in project Y instead of dumping the whole struct with IDs (or rather, in addition to)