Exception: ActiveSanction::Snapshot::ChecksumMismatch
- Inherits:
-
IntegrityError
- Object
- StandardError
- ActiveSanction::SourceError
- IntegrityError
- ActiveSanction::Snapshot::ChecksumMismatch
- 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.