There's no need to modify this line to capture an error then simply reraise it with a different message. Instead, just note in the documentation string that this method may raise `ValueError` if there is a problem parsing the given `datetime` string.