public RedirectToUrlOnErrorAttribute(string url, params Type[] type) { Types = type.ToList(); Url = url; }