pycares.errno — Error constant definitions

This module contains the defined error constants from c-ares.

pycares.errno.errorcode

Mapping (code, string) with c-ares error codes.

pycares.errno.strerror(errorno)
Parameters:

errorno (int) – Error number.

Get the string representation of the given c-ares error number.