Except for inputs like ctrl c etc.
To my understanding getline can only fail when reaching EOF, but I\'m not very sure.