pub fn encode_unauthorized( write: WriteId, reason: &AuthorizationFailure, ) -> Result<Vec<u8>, Error>
Encode an unauthorized change’s write and reason for its loss record.