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, Jan 10, 18:16
Unknown Object (File)
Fri, Jan 10, 17:53
Unknown Object (File)
Thu, Jan 9, 07:49
Unknown Object (File)
Thu, Jan 9, 06:37
Unknown Object (File)
Thu, Jan 9, 06:37
Unknown Object (File)
Thu, Jan 2, 05:25
Unknown Object (File)
Thu, Jan 2, 04:46
Unknown Object (File)
Thu, Jan 2, 04:26
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.