Note about http errors

This commit is contained in:
Melody Becker 2025-04-11 11:11:54 +02:00
parent 227a9e377f
commit 03178f59e6
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI

View file

@ -17,6 +17,7 @@
and given appropriate descriptive information and given appropriate descriptive information
_or_ return an error defined (as public variable) in that package. _or_ return an error defined (as public variable) in that package.
Example: `other.Error("auth", "failed to do something important", originalError)` Example: `other.Error("auth", "failed to do something important", originalError)`
- Returned http errors must use `git.mstar.dev/mstar/goutils/webutils.ProblemDetails(StatusOnly)`.
## JS/TS ## JS/TS