Skip to main content

PublicationErrorCode

type PublicationErrorCode =
| "fileNotFound"
| "formatNotSupported"
| "openFailed"
| "protectionNotSupported"
| "restricted"
| "cancelled";

Why a publication could not be opened.

  • protectionNotSupported: protected with a scheme no registered content protection handles.
  • restricted: a protection matched but refused access, e.g. an expired license.
  • cancelled: restricted with no error, e.g. the passphrase prompt was dismissed.