Fil.ConfigurationError exception (Fil v0.1.0)

Copy Markdown View Source

The disk's options don't match the storage. Fix the disk's options.

Every call on the disk fails until they change. S3 returns it with reason: {:wrong_region, region} when the bucket is in another region than the disk's :region, and with reason: "NoSuchBucket" when the bucket doesn't exist.

Summary

Types

t()

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