pub fn pack_unified<T, C>(s: T) -> Result<PackedError<T>, Error>where T: Serialize + IUnifiedError<C> + Clone + Debug, C: Clone,