WriteOutcome

data class WriteOutcome(val written: List<Path>, val errors: List<String>)(source)

Result of a render call. Lets the caller surface per-format successes and errors in one notification pass, and locate the HTML output (if any) for host-side browser-open.

Constructors

Link copied to clipboard
constructor(written: List<Path>, errors: List<String>)

Properties

Link copied to clipboard
Link copied to clipboard

Convenience accessor — the HTML file in written (if any). Hosts that want to open the HTML in a browser after a successful render check this and dispatch through their own platform channel. Returns null when HTML was not among the requested formats or its write failed.

Link copied to clipboard