errors.go
func (e ErrorHandlers) Get(status int) ErrorHandler {
	if eh, ok := e[status]; ok {
		return eh
	}
	if eh, ok := e[0]; ok {
		return eh
	}
	return defaultErrorHandler
}
func (e ErrorHandlers) Get(status int) ErrorHandler {
	if eh, ok := e[status]; ok {
		return eh
	}
	if eh, ok := e[0]; ok {
		return eh
	}
	return defaultErrorHandler
}
func ( e ErrorHandlers ) Get ( status int ) ErrorHandler { if eh , ok := e [ status ] ; ok { return eh } if eh , ok := e [ 0 ] ; ok { return eh } return defaultErrorHandler }
// Get a registered ErrorHandler for this status code. If
// no ErrorHandler has been registered, a default one will
// be returned.
Get a registered ErrorHandler for this status code . If no ErrorHandler has been registered a default one will be returned .