Exception: ActiveSanction::Snapshot::ChecksumMismatch

Inherits:
IntegrityError show all
Defined in:
lib/active_sanction/snapshot.rb

Overview

Raised when a stored snapshot's content no longer hashes to the checksum stored beside it: the file is corrupt, was edited, or was written by a serializer this version does not agree with. Never silently repaired -- a snapshot that cannot prove what it contains cannot anchor an audit.

Instance Attribute Summary

Attributes included from Error

#source_id, #status

Method Summary

Methods included from Error

#in_source, #initialize, #retryable?, #to_h