Adds an error field mapping for common errors for all formatters.