1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-07 20:17:05 +00:00

more improvements on the x/errors package

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-12-30 13:55:05 +02:00
parent b727f4b143
commit 50faf05528
2 changed files with 42 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ Changes apply to `main` branch.
- Add `x/jsonx.GetSimpleDateRange(date, jsonx.WeekRange, time.Monday, time.Sunday)` which returns all dates between the given range and start/end weekday values for WeekRange.
- Add `x/timex.GetMonthDays` and `x/timex.GetMonthEnd` functions.
- Add `iris.CookieDomain` and `iris.CookieOverride` cookie options to handle [#2309](https://github.com/kataras/iris/issues/2309).
- New `x/errors.ErrorCodeName.MapErrorFunc`, `x/errors.ErrorCodeName.MapErrors` methods and `x/errors.HandleError` package-level function.
- New `x/errors.ErrorCodeName.MapErrorFunc`, `x/errors.ErrorCodeName.MapErrors`, `x/errors.ErrorCodeName.Wrap` methods and `x/errors.HandleError` package-level function.
# Sun, 05 Nov 2023 | v12.2.8