PaperForge.ValidationResult (PaperForge v1.4.3)

Copy Markdown View Source

Structured outcome returned by PaperForge.validate/1.

Errors prevent serialization. Warnings describe valid documents that may deserve attention before they are sent to production.

Summary

Types

t()

@type t() :: %PaperForge.ValidationResult{
  deterministic?: boolean(),
  errors: [map()],
  objects: non_neg_integer(),
  pages: non_neg_integer(),
  pdf_version: binary(),
  valid?: boolean(),
  warnings: [map()]
}