summaryrefslogtreecommitdiffstats
path: root/src/pulse/error.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-03 18:54:55 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-03 18:54:55 +0200
commit114f290be73889a92e8f0a248a3fde1fd09c2dc9 (patch)
tree5a5e8025c359c6f66028fdd50b19708384179bae /src/pulse/error.c
parent23bde22b1002b8900bb712fe30ffc30ec2deff93 (diff)
add a new error code PA_ERR_NOEXTENSION
Diffstat (limited to 'src/pulse/error.c')
-rw-r--r--src/pulse/error.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pulse/error.c b/src/pulse/error.c
index 29690c89..50bbf703 100644
--- a/src/pulse/error.c
+++ b/src/pulse/error.c
@@ -57,7 +57,10 @@ const char*pa_strerror(int error) {
[PA_ERR_BADSTATE] = "Bad state",
[PA_ERR_NODATA] = "No data",
[PA_ERR_VERSION] = "Incompatible protocol version",
- [PA_ERR_TOOLARGE] = "Too large"
+ [PA_ERR_TOOLARGE] = "Too large",
+ [PA_ERR_NOTSUPPORTED] = "Not supported",
+ [PA_ERR_UNKNOWN] = "Unknown error code",
+ [PA_ERR_NOEXTENSION] = "No such extension"
};
if (error < 0 || error >= PA_ERR_MAX)