pub type ErrorDetails = *mut c_void;