mirror of
https://github.com/kataras/iris.git
synced 2026-01-04 18:57:03 +00:00
fix #1852
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user