Page MenuHomeDevCentral

Use OSError exceptions instead of dead exceptions
ClosedPublic

Authored by dereckson on Sep 9 2018, 08:48.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 28, 08:54
Unknown Object (File)
Mon, Nov 17, 06:14
Unknown Object (File)
Sun, Nov 16, 21:11
Unknown Object (File)
Wed, Nov 12, 08:05
Unknown Object (File)
Wed, Nov 12, 08:04
Unknown Object (File)
Tue, Nov 11, 23:42
Unknown Object (File)
Tue, Nov 11, 20:16
Unknown Object (File)
Sat, Nov 8, 07:22
Subscribers
None

Details

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

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Sep 9 2018, 08:48
This revision was automatically updated to reflect the committed changes.