VCF.Warning (VCF v1.0.0)

View Source

Machine-readable warning retained when permissive parsing recovers.

Summary

Functions

Formats a warning for display while retaining the struct for programmatic use.

Types

t()

@type t() :: %VCF.Warning{
  field: atom() | nil,
  key: String.t() | nil,
  line: pos_integer() | nil,
  reason: atom(),
  value: term()
}

Functions

message(warning)

@spec message(t()) :: String.t()

Formats a warning for display while retaining the struct for programmatic use.