SnappyException to wrap errors thrown in CFFI