handles MP_BUF in mp_error_to_string
diff --git a/mp_error_to_string.c b/mp_error_to_string.c
index a6f6fc7..1b34d02 100644
--- a/mp_error_to_string.c
+++ b/mp_error_to_string.c
@@ -17,6 +17,8 @@ const char *mp_error_to_string(mp_err code)
return "Value out of range";
case MP_ITER:
return "Max. iterations reached";
+ case MP_BUF:
+ return "Buffer overflow";
default:
return "Invalid error code";
}