Poney.Issue (Poney v0.1.0)

Copy Markdown View Source

One problem in a document.

An error makes the document invalid; a warning is information for the author. path names the value, as the specification writes it (§9.4): member names and array indexes joined by dots, from the root, for example "model.relationships.4.target". hint says how to fix it, when the reader can tell.

Summary

Types

severity()

@type severity() :: :error | :warning

t()

@type t() :: %Poney.Issue{
  hint: String.t() | nil,
  message: String.t(),
  path: String.t(),
  severity: severity()
}