1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-24 05:17:03 +00:00

add Iris + Serverless example link

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-23 17:55:29 +03:00
parent 8e049d77c9
commit ef5685bf7e
5 changed files with 8 additions and 3 deletions

View File

@@ -138,6 +138,7 @@ func defaultErrorHandler(ctx *context.Context) {
func (h *routerHandler) Build(provider RoutesProvider) error {
h.trees = h.trees[0:0] // reset, inneed when rebuilding.
h.errorTrees = h.errorTrees[0:0]
// set the default error code handler, will be fired on error codes
// that are not handled by a specific handler (On(Any)ErrorCode).