Codeshares, interline journeys, and separate tickets have different rules when a connection goes wrong.