Yes, by looking at errorString(), error(), the HTTP response code, etc.

Cheers,
_