util/error: add error handling

This commit is contained in:
meh
2015-05-07 04:32:32 +02:00
parent 5468ea5051
commit eef3e9c556
3 changed files with 53 additions and 0 deletions

View File

@ -1,3 +1,5 @@
pub mod error;
use std::ffi::CStr;
use std::str::from_utf8_unchecked;