Wrap caught "Error" in an `Error`.

Use `toString` check AND `instanceof` check.