Google has updated its document titled "How HTTP status codes, and network and DNS errors affect Google Search" and it's worth a read, even if you are familiar with status codes and DNS errors. The issues described on the page generate the corresponding error in the Search Console's Crawl Stats Report.
418 status codes [developer.mozilla.org] aren't covered. lol
How HTTP status codes, and network and DNS errors affect Google Search [developers.google.com]