When the wrapper raised an exception it did not preserve the original error value. This made the error message resolution (e.g. by using getPropErrorNameFromEnum) a bit tricky.
This patch also fixes the return value of the function getPropErrorNameFromEnum (was bytes, now string).
When the wrapper raised an exception it did not preserve the original error value. This made the error message resolution (e.g. by using
getPropErrorNameFromEnum
) a bit tricky.This patch also fixes the return value of the function
getPropErrorNameFromEnum
(wasbytes
, nowstring
).