diff --git a/Code-Style.md b/Code-Style.md index d58dca1..344e2a8 100644 --- a/Code-Style.md +++ b/Code-Style.md @@ -13,6 +13,8 @@ use `hlog.FromRequest` to get a logger instance prepared with a bunch of metadata - As Linstrom is both intended for active use as well as providing a learning resource, all functions and structs must be documented +- Errors returned from public functions must be wrapped with `git.mstar.dev/mstar/goutils/other.Error` + and given appropriate descriptive information ## JS/TS