added new method for throwing errors that have http status codes ... made collectByMembership for developer friendly.