Skip to content
Lamina PDF
Unreleased

These docs describe changes that aren’t released yet. For the newest release, see the released docs.

Diagnostic

The ADR 0026 §1 object: what LaminaPdfError.toJSON() returns and the WASM throws.

C extends string = ErrorCode

readonly code: C


readonly optional data?: Readonly<Record<string, unknown>>


readonly optional didYouMean?: readonly string[]


readonly docsUrl: string


readonly optional hint?: string


readonly kind: ErrorKind


readonly optional location?: Location


readonly message: string