pub fn tonic_error<T: Debug>(err: T) -> Status