Better error message for Throws<T>