Bourse.LiveDrift.Failure (bourse v0.1.0)

Copy Markdown View Source

Sanitized failure contract persisted by the live drift lane.

Summary

Functions

Builds one failure without retaining provider bodies, requests, or credentials.

Types

t()

@type t() :: %{
  actual_type: String.t(),
  expected_type: String.t(),
  field: String.t(),
  method: atom() | String.t(),
  recapture: String.t(),
  reauthor: String.t(),
  venue: String.t()
}

Functions

new(venue, method, field, expected_type, actual_type, recapture, reauthor)

@spec new(
  String.t(),
  atom() | String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t()
) ::
  t()

Builds one failure without retaining provider bodies, requests, or credentials.