Closed lucab closed 9 years ago
For improved safety, this commit replaces all panic!() and expect() in the library with graceful error logging and bubbling-up, in order to avoid crashing applications on malformed input.
Signed-off-by: Luca Bruno lucab@debian.org
@lucab This is really useful, thank you!
Rebased to fix the style issues and changed commit message. unwrap() usage will be covered separately.
OK, let's merge what we got now, and continue improving afterwards.
For improved safety, this commit replaces all panic!() and expect() in the library with graceful error logging and bubbling-up, in order to avoid crashing applications on malformed input.
Signed-off-by: Luca Bruno lucab@debian.org