Which only works when the error itself doesn't contain any information.
It's better than nothing, of course.