:right-sidebar: True PolicyError =================================================================== .. currentmodule:: gi.repository.WebKit .. class:: PolicyError :no-contents-entry: Enum values used to denote the various policy errors. Methods ------- .. rst-class:: interim-class .. class:: PolicyError :no-index: .. method:: quark() -> int Gets the quark for the domain of policy errors. Fields ------ .. rst-class:: interim-class .. class:: PolicyError :no-index: .. attribute:: CANNOT_SHOW_MIME_TYPE Load failure due to unsupported mime type .. attribute:: CANNOT_SHOW_URI Load failure due to URI that can not be shown .. attribute:: CANNOT_USE_RESTRICTED_PORT Load failure due to port restriction .. attribute:: FAILED Generic load failure due to policy error .. attribute:: FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE Load failure due to frame load interruption by policy change