that looks like a minor bug: fetch_file_contents() returns false if response code is not 200. there’s no check afterwards so empty document is passed to feedparser - even though it shouldn’t - which tries to parse it and overrides the error message.
e: to get back to the original question, i wonder if curl_errno() / curl_error() includes status information sent by server (functions.php:454 etc)
e2: oh i might be wrong, looks like i’ve been looking in the basic feed info function, not actual feed update. hmmm.
-btw i get a strange error message without curl on 404: “[09:50:47/31743] unable to fetch: Undefined offset: 1 ”- <-- nvm
e3: looks like curl_error() is not set on 404 and such, i guess this makes sense.