write error descriptions