Fil.ChecksumMismatchError exception (Fil v0.1.0)

Copy Markdown View Source

The content doesn't match its checksum. Upload or download it again.

Adapters return it for a write with checksum: that the storage received damaged, and for a read with verify_checksum: true whose content doesn't match the stored checksum.

Summary

Types

t()

@type t() :: %Fil.ChecksumMismatchError{
  __exception__: term(),
  disk: Fil.Disk.t() | nil,
  op: Fil.Op.name() | nil,
  path: String.t() | nil,
  reason: term()
}