micropython-lib/socket
Michael Buesch ff27e3c8ba socket: Add socket.error
Older CPython versions raised socker.error (or classes derived from it)
as exceptions on errors. Various software still uses it to be compatible
with older Python versions. As it's one-line fix, allow MicroPython to
run such code too.

try:
  socket...
except socker.error as e:
  ...
2015-12-09 00:34:48 +02:00
..
metadata.txt socket: Add socket.error 2015-12-09 00:34:48 +02:00
setup.py socket: Add socket.error 2015-12-09 00:34:48 +02:00
socket.py socket: Add socket.error 2015-12-09 00:34:48 +02:00