@prismshadow/penguin-core/kernel · Low-level Kernel & Upgrade

UpgradeFailed

interface type-only low-level
Source ↗
IMPORT import type { UpgradeFailed } from "@prismshadow/penguin-core/kernel";

Declaration

export interface UpgradeFailed {
  status: "failed";
  /** What the new implementation's boot threw. */
  error: unknown;
  /**
   * The parked document. The OLD tree is disposed by this point (validate-then-swap
   * disposes before boot, so the new tree can adopt what the old one delivered) — this
   * document is what the previous implementation re-boots from.
   */
  doc: Json;
}

Members (3)

status

status: "failed"

error

error: unknown

What the new implementation's boot threw.

doc

doc: Json

The parked document. The OLD tree is disposed by this point (validate-then-swap disposes before boot, so the new tree can adopt what the old one delivered) — this document is what the previous implementation re-boots from.

Type Cross-References

Static signature graph within @prismshadow/penguin-core/kernel
references1 kernel type
referenced by1 kernel API