summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/error.c')
-rw-r--r--lib/libalpm/error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index 76b710cb..0a12cdef 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -100,6 +100,8 @@ const char SYMEXPORT *alpm_strerror(alpm_errno_t err)
return _("operation not compatible with the transaction type");
case ALPM_ERR_TRANS_NOT_LOCKED:
return _("transaction commit attempt when database is not locked");
+ case ALPM_ERR_TRANS_HOOK_FAILED:
+ return _("failed to run transaction hooks");
/* Packages */
case ALPM_ERR_PKG_NOT_FOUND:
return _("could not find or read package");