The only way to be sure that "err" is an Error would be to inspect it. I've seen libraries throw strings in the past, this is simply defensive programming :)