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)
Tue, Nov 19, 06:27
Unknown Object (File)
Sat, Nov 9, 00:23
Unknown Object (File)
Tue, Nov 5, 14:53
Unknown Object (File)
Tue, Nov 5, 14:53
Unknown Object (File)
Tue, Nov 5, 14:15
Unknown Object (File)
Tue, Nov 5, 13:08
Unknown Object (File)
Tue, Oct 29, 19:22
Unknown Object (File)
Oct 24 2024, 02:52
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.