Update Error function - linux returns nil currently