littlemanco / the-golden-path.net

A template for writing a new tool or service.
0 stars 0 forks source link

Errors #6

Open andrewhowdencom opened 4 years ago

andrewhowdencom commented 4 years ago

Errors that make it to the user should be a discrete set, each of which can have more information queried of it.

For example,

github.com/littlemanco/oilr--proj/wiki/errors/${UUID}

That address should resolve into a help page of some kind.

andrewhowdencom commented 4 years ago

See also, application/problem+json

andrewhowdencom commented 4 years ago

SLO violations can be considered errors, and should have an application/problem+json attached (or whatever error).

That can then have a playbook attached, even in the same place as client definitions. It can all be the same. "Broad problems".