I understand that is what they meant, but it is not what they wrote. They should have qualified the statement as you did, with the conditions that yield a runtime error. Even if they generalized those conditions that would have been fine.
for example:
or tries to access a library that it is unable to for some reason without handling the resulting error.
for example: