1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-04 18:57:03 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-03-03 02:34:23 +02:00
parent f397c30caf
commit e2222a8066

View File

@@ -240,6 +240,10 @@ func (g *Group) getAllChildren() []*Group {
// Unwrap implements the dynamic std errors interface and it returns the parent Group.
func (g *Group) Unwrap() error {
if g == nil {
return nil
}
return g.parent
}