Skip to content

DRAFT_NOT_READABLE_ERROR_CODE

const DRAFT_NOT_READABLE_ERROR_CODE: "DRAFT_NOT_READABLE" = "DRAFT_NOT_READABLE"

Defined in: packages/core/src/db/staleWrite.ts:23

The code of the VexError saveDraft/publish throw when the document has a draft the caller may not read — editing or publishing it would overwrite changes they cannot see.