:right-sidebar: True ResourceError =================================================================== .. currentmodule:: gi.repository.Gst .. class:: ResourceError :no-contents-entry: Resource errors are for any resource used by an element: memory, files, network connections, process space, ... They're typically used by source and sink elements. Methods ------- .. rst-class:: interim-class .. class:: ResourceError :no-index: .. method:: quark() -> int Fields ------ .. rst-class:: interim-class .. class:: ResourceError :no-index: .. attribute:: BUSY Used when resource is busy. .. attribute:: CLOSE Used when the resource can't be closed. .. attribute:: FAILED A general error which doesn't fit in any other category. Make sure you add a custom message to the error call. .. attribute:: NOT_AUTHORIZED Used when the resource can't be opened due to missing authorization. (Since: 1.2.4) .. attribute:: NOT_FOUND Used when the resource could not be found. .. attribute:: NO_SPACE_LEFT Used when the resource has no space left. .. attribute:: NUM_ERRORS The number of resource error types. .. attribute:: OPEN_READ Used when resource fails to open for reading. .. attribute:: OPEN_READ_WRITE Used when resource cannot be opened for both reading and writing, or either (but unspecified which). .. attribute:: OPEN_WRITE Used when resource fails to open for writing. .. attribute:: READ Used when the resource can't be read from. .. attribute:: SEEK Used when a seek on the resource fails. .. attribute:: SETTINGS Used when settings can't be manipulated on. .. attribute:: SYNC Used when a synchronize on the resource fails. .. attribute:: TOO_LAZY Do not use this except as a placeholder for deciding where to go while developing code. .. attribute:: WRITE Used when the resource can't be written to.