This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Description
We have Wrap which takes an error and returns a new error which supports Cause and will return the original error.
This issue is to discuss adding a complement to Wrap, Unwrap is specified as follows
// Unwrap reverses the Wrap process above, returning the direct cause
// of the error. If the error does not support Cause, or the error is nil, the
// error value is returned unmodified.
func Unwrap(err error) error
For discussion
See also #18