pa_error_code

Error values as used by pa_context_errno(). Use pa_strerror() to convert these values to human readable strings

Values

ValueMeaning
PA_OK0

< No error

PA_ERR_ACCESS1

< Access failure

PA_ERR_COMMAND2

< Unknown command

PA_ERR_INVALID3

< Invalid argument

PA_ERR_EXIST4

< Entity exists

PA_ERR_NOENTITY5

< No such entity

PA_ERR_CONNECTIONREFUSED6

< Connection refused

PA_ERR_PROTOCOL7

< Protocol error

PA_ERR_TIMEOUT8

< Timeout

PA_ERR_AUTHKEY9

< No authentication key

PA_ERR_INTERNAL10

< Internal error

PA_ERR_CONNECTIONTERMINATED11

< Connection terminated

PA_ERR_KILLED12

< Entity killed

PA_ERR_INVALIDSERVER13

< Invalid server

PA_ERR_MODINITFAILED14

< Module initialization failed

PA_ERR_BADSTATE15

< Bad state

PA_ERR_NODATA16

< No data

PA_ERR_VERSION17

< Incompatible protocol version

PA_ERR_TOOLARGE18

< Data too large

PA_ERR_NOTSUPPORTED19

< Operation not supported \since 0.9.5

PA_ERR_UNKNOWN20

< The error code was unknown to the client

PA_ERR_NOEXTENSION21

< Extension does not exist. \since 0.9.12

PA_ERR_OBSOLETE22

< Obsolete functionality. \since 0.9.15

PA_ERR_NOTIMPLEMENTED23

< Missing implementation. \since 0.9.15

PA_ERR_FORKED24

< The caller forked without calling execve() and tried to reuse the context. \since 0.9.15

PA_ERR_IO25

< An IO error happened. \since 0.9.16

PA_ERR_BUSY26

< Device or resource busy. \since 0.9.17

PA_ERR_MAX27

< Not really an error but the first invalid error code

Meta