Skip to content

Better exceptions for 'socket', 'network', 'wiznet' libraries #1880

Closed
@nickzoic

Description

@nickzoic

At the moment, the exceptions raised by 'socket', 'network' and 'wiznet' libraries are mostly just in the form mp_raise_OSError(_errno) which leads to irritatingly nonspecific exceptions like OSError: [Errno 4].

We should improve these to have proper error messages.

See also #703 (initial implementation from micropython) #1800 (bugfixes for 4.0.0)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions