:right-sidebar: True WebExtensionError =================================================================== .. currentmodule:: gi.repository.WebKit .. versionadded:: 2.52 .. class:: WebExtensionError :no-contents-entry: Enum values used to denote errors happening when parsing a :obj:`~gi.repository.WebKit.WebExtension` Methods ------- .. rst-class:: interim-class .. class:: WebExtensionError :no-index: .. method:: quark() -> int Gets the quark for the domain of Web Extension errors. .. versionadded:: 2.52 Fields ------ .. rst-class:: interim-class .. class:: WebExtensionError :no-index: .. attribute:: INVALID_ARCHIVE The archive file is invalid or corrupt. .. attribute:: INVALID_BACKGROUND_PERSISTENCE The extension specified background persistence that was not compatible with the platform or features requested. .. attribute:: INVALID_DECLARATIVE_NET_REQUEST_ENTRY An invalid declarative net request entry was encountered. .. attribute:: INVALID_MANIFEST An invalid ``manifest.json`` was encountered. .. attribute:: INVALID_MANIFEST_ENTRY An invalid manifest entry was encountered. .. attribute:: INVALID_RESOURCE_CODE_SIGNATURE A resource failed the bundle's code signature checks. .. attribute:: RESOURCE_NOT_FOUND A specified resource was not found on disk. .. attribute:: UNKNOWN An unknown error occured. .. attribute:: UNSUPPORTED_MANIFEST_VERSION The manifest version is not supported.