Require either value or type for exception