Exception raised if an AVS_* C function returns an error code.
AVS_*
int
The error code returned by the failing function.
str
The function that was called that returned this error code.
AvsReturnError