Gst.ResourceError

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.

ResourceError.FAILED

a general error which doesn't fit in any other category. Make sure you add a custom message to the error call.

ResourceError.TOO_LAZY

do not use this except as a placeholder for deciding where to go while developing code.

ResourceError.NOT_FOUND

used when the resource could not be found.

ResourceError.BUSY

used when resource is busy.

ResourceError.OPEN_READ

used when resource fails to open for reading.

ResourceError.OPEN_WRITE

used when resource fails to open for writing.

ResourceError.OPEN_READ_WRITE

used when resource cannot be opened for both reading and writing, or either (but unspecified which).

ResourceError.CLOSE

used when the resource can't be closed.

ResourceError.READ

used when the resource can't be read from.

ResourceError.WRITE

used when the resource can't be written to.

ResourceError.SEEK

used when a seek on the resource fails.

ResourceError.SYNC

used when a synchronize on the resource fails.

ResourceError.SETTINGS

used when settings can't be manipulated on.

ResourceError.NO_SPACE_LEFT

used when the resource has no space left.

ResourceError.NUM_ERRORS

the number of resource error types.