extract real error number