Trellis.CaptureFailure (Trellis v0.1.0-alpha)

Copy Markdown View Source

Why capture of source_table is broken, or why the drain (or a build's merge) halted on the transform: kind is :capture, :halt or :disruption, error is a sentence naming the cause, columns the columns it is about (empty when it isn't about a column, and for a halt), and detected_at when it was first found.

Summary

Types

Whether capture broke, the drain halted, or capture was changed outside Trellis.

t()

Types

kind()

@type kind() :: :capture | :halt | :disruption

Whether capture broke, the drain halted, or capture was changed outside Trellis.

t()

@type t() :: %Trellis.CaptureFailure{
  columns: [String.t()],
  detected_at: DateTime.t(),
  error: String.t(),
  kind: kind(),
  source_table: String.t()
}