Tay.Storage.Recovery.Error (tay v1.3.3)

Copy Markdown View Source

Bounded recovery diagnostics. No error authorizes repair or prefix publication.

Summary

Types

t()

@type t() :: %Tay.Storage.Recovery.Error{
  action: term(),
  cleanup_error: term(),
  kind: term(),
  mutation: term(),
  offset: term(),
  physical_reason: term(),
  reason: term(),
  segment_id: term(),
  sequence: term(),
  stage: term(),
  store_id: term()
}

Functions

bounded(term)

new(kind, reason, stage, position \\ %{})

@spec new(atom(), term(), atom(), map()) :: t()

wrap(reason, stage, position \\ %{})

@spec wrap(term(), atom(), map()) :: t()