How to use pp_write_error from mirage-channel

39 Views Asked by At

I'm using mirage-channel and Channel.flush returns a (unit, Channel.write_error) Result.result. I can't figure out how to convert that Channel.write_error to a string, seems like there is a pp_write_error but I just don't get how to use it. Thanks

0

There are 0 best solutions below