Skip to main content

PublicationErrorEvent

The publication could not be opened. url, code and protectionScheme are as native reports them; message and detail are described below.

Extends​

  • Omit<NativePublicationErrorEvent, "message">

Properties​

message​

message: string;

A default English description of code, the same on every platform.


detail?​

optional detail?: string;

The platform's own description of what went wrong, for logs. Varies by platform.


url​

url: string;

The file.url whose open failed.

Inherited from​

Omit.url

code​

code: PublicationErrorCode;

Why, the same on every platform: branch on it, or map it to your own localized text.

Inherited from​

Omit.code

protectionScheme?​

optional protectionScheme?: string;

For a protected publication, its DRM scheme's URI.

Inherited from​

Omit.protectionScheme