// WrapErrUpgradeRequired returns a new ErrUpgradeRequired, wrapping an existing error
WrapErrUpgradeRequired returns a new ErrUpgradeRequired, wrapping an existing error
// WrapErrUpgradeRequired returns a new ErrUpgradeRequired wrapping an existing error
func WrapErrUpgradeRequired(err error) error {
	return &ErrorWithStatusCode{
		error:      err,
		statusCode: http.StatusUpgradeRequired,
	}
}
func WrapErrUpgradeRequired ( err error ) error { return & ErrorWithStatusCode { error : err , statusCode : http . StatusUpgradeRequired , } }
WrapErrUpgradeRequired returns a new ErrUpgradeRequired, wrapping an existing error
WrapErrUpgradeRequired returns a new ErrUpgradeRequired wrapping an existing error