MCPcopy
hub / github.com/yuk7/wsldl / Unwrap

Method Unwrap

src/lib/errutil/errutil.go:29–34  ·  view source on GitHub ↗

Unwrap returns the underlying error.

()

Source from the content-addressed store, hash-verified

27
28// Unwrap returns the underlying error.
29func (e *DisplayError) Unwrap() error {
30 if e == nil {
31 return nil
32 }
33 return e.Err
34}
35
36// NewDisplayError builds an error that carries ErrorExit rendering options.
37func NewDisplayError(err error, showMsg bool, showColor bool, pause bool) error {

Calls

no outgoing calls