pub fn datafile_ingest_protocol_error(error: AppError) -> ProtocolError
Maps a Datafile ingest failure to one safe stable protocol error.