Based on the attempt to migrate to the new version of tailcall-valid: tailcallhq/tailcall#3167
In the commit f1ed850 the Error type was removed completely and the Valid type now corresponds to Result<A, Vec<Cause<E, T>> where the Err part is not implementing StdError. This significantly complicates the usage of to_result method and working with errors from Valid.
Provide new wrapper or rollback removal of the Error to simplify the usage of the library.
Based on the attempt to migrate to the new version of tailcall-valid: tailcallhq/tailcall#3167
In the commit f1ed850 the Error type was removed completely and the
Validtype now corresponds toResult<A, Vec<Cause<E, T>>where the Err part is not implementing StdError. This significantly complicates the usage ofto_resultmethod and working with errors from Valid.Provide new wrapper or rollback removal of the
Errorto simplify the usage of the library.