Vize.Diagnostic (Vize v0.12.0)

Copy Markdown View Source

Structured diagnostic emitted by Vize.

Summary

Types

t()

@type t() :: %Vize.Diagnostic{
  code: atom() | String.t() | nil,
  location: Vize.SourceRange.t() | nil,
  message: String.t(),
  recoverable?: boolean()
}

Functions

new(message)

@spec new(map() | String.t()) :: t()