mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 11:40:55 +00:00
add comment
This commit is contained in:
parent
ead635e62f
commit
8df2cca627
1
error.go
1
error.go
@ -204,6 +204,7 @@ type errorInfo struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// map of http handlers for each error string.
|
// map of http handlers for each error string.
|
||||||
|
// there is 10 kinds default error(40x and 50x)
|
||||||
var ErrorMaps = make(map[string]*errorInfo, 10)
|
var ErrorMaps = make(map[string]*errorInfo, 10)
|
||||||
|
|
||||||
// show 401 unauthorized error.
|
// show 401 unauthorized error.
|
||||||
|
Loading…
Reference in New Issue
Block a user