- handle the possibility of strerror() returning NULL.