forked from rust-netlink/rtnetlink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace assert with Result. Re: rust-netlink#16
Rather than panicking the calling application when the message Kind has already been set, return Err(Error::InvalidNla). Note: This adds the error type: Error::InvalidNla Signed-off-by: Erich Heine <[email protected]>
- Loading branch information
Erich Heine
committed
Apr 14, 2023
1 parent
25f0353
commit e9bca14
Showing
2 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters