HomeDevCentral

Use OSError exceptions instead of dead exceptions

Description

Use OSError exceptions instead of dead exceptions

Summary:
Error codes used:

  • ENODEV: no such device (no netwrok card has been found)
  • EAFNOSUPPORT: Address family not supported by protocol (no IPv6 support)

Side edit: prune unreacheable code after an exception

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: http://devcentral.nasqueron.org/D1700

Details

Provenance
derecksonAuthored on Sep 9 2018, 08:47
derecksonPushed on Sep 9 2018, 08:48
Reviewer
dereckson
Differential Revision
D1700: Use OSError exceptions instead of dead exceptions
Parents
rOPS02f149476cc1: Improve Python code
Branches
Unknown
Tags
Unknown