summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/polyplib-error.c')
-rw-r--r--polyp/polyplib-error.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/polyp/polyplib-error.c b/polyp/polyplib-error.c
index 10b637c4..24054f2e 100644
--- a/polyp/polyplib-error.c
+++ b/polyp/polyplib-error.c
@@ -37,12 +37,13 @@ static const char* const errortab[PA_ERROR_MAX] = {
[PA_ERROR_EXIST] = "Entity exists",
[PA_ERROR_NOENTITY] = "No such entity",
[PA_ERROR_CONNECTIONREFUSED] = "Connection refused",
- [PA_ERROR_PROTOCOL] = "Protocol corrupt",
+ [PA_ERROR_PROTOCOL] = "Protocol error",
[PA_ERROR_TIMEOUT] = "Timeout",
- [PA_ERROR_AUTHKEY] = "Not authorization key",
+ [PA_ERROR_AUTHKEY] = "No authorization key",
[PA_ERROR_INTERNAL] = "Internal error",
[PA_ERROR_CONNECTIONTERMINATED] = "Connection terminated",
[PA_ERROR_KILLED] = "Entity killed",
+ [PA_ERROR_INVALIDSERVER] = "Invalid server",
};
const char*pa_strerror(uint32_t error) {