raise general error if status type isn't known