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.
a general error which doesn't fit in any other category. Make sure you add a custom message to the error call.
do not use this except as a placeholder for deciding where to go while developing code.
used when the resource could not be found.
used when resource is busy.
used when resource fails to open for reading.
used when resource fails to open for writing.
used when resource cannot be opened for both reading and writing, or either (but unspecified which).
used when the resource can't be closed.
used when the resource can't be read from.
used when the resource can't be written to.
used when a seek on the resource fails.
used when a synchronize on the resource fails.
used when settings can't be manipulated on.
used when the resource has no space left.
used when the resource can't be opened due to missing authorization. (Since 1.2.4)
the number of resource error types.