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:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user