handles MP_BUF in mp_error_to_string
This commit is contained in:
parent
5b2aad8868
commit
a825e0a360
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user