Handle non-string non-errors

Errors that don't pass the `instanceof` test will almost never have proper stack trace info, and some crazy people throw numbers etc.