Converting err to string.