Packages

Precompiled NIFs and tooling to render Typst documents.

Current section

Files

Jump to
ash_typst lib ash_typst compile_error.ex
Raw

lib/ash_typst/compile_error.ex

defmodule AshTypst.CompileError do
@moduledoc """
Returned as `{:error, %AshTypst.CompileError{}}` when compilation or export
fails.
## Fields
* `:diagnostics` — a list of `AshTypst.Diagnostic` entries (the errors, and
any related warnings) describing what went wrong
"""
defstruct diagnostics: []
end