Skip to main content

validate_ingestion_result

Function validate_ingestion_result 

Source
pub fn validate_ingestion_result(
    batch: &IngestionBatch,
    result: &IngestionResult,
) -> Result<(), SoftchatError>
Expand description

Verify that a platform transaction classified every requested event exactly once.

ยงErrors

Returns SoftchatError::InvalidPersistenceResult for missing, duplicate, or unknown IDs and accountless batches.