aboutsummaryrefslogtreecommitdiff
path: root/py/mperrno.h
AgeCommit message (Collapse)Author
2016-05-28py/moduerrno: Add ECONNREFUSED, one of frequent networking errors.Paul Sokolovsky
2016-05-12py/objexcept: Don't convert errno to str in constructor, do it in print.Damien George
OSError's are now printed like: OSError: [Errno 1] EPERM but only if the string corresponding to the errno is found.
2016-05-12py: Add mp_errno_to_str() and use it to provide nicer OSError msgs.Damien George
If an OSError is raised with an integer argument, and that integer corresponds to an errno, then the string for the errno is used as the argument to the exception, instead of the integer. Only works if the uerrno module is enabled.
2016-05-12py/mperrno: Add some more MP_Exxx constants, related to networking.Damien George
2016-05-10py/mperrno: Add EAFNOSUPPORT definition.Damien George
2016-05-10py: Add mperrno.h file with uPy defined errno constants.Damien George