MCPcopy Create free account
hub / github.com/crewjam/saml / Unwrap

Method Unwrap

errors.go:161–163  ·  view source on GitHub ↗

Unwrap returns PrivateErr, so that errors.Is and errors.As can inspect the reason a response was rejected.

()

Source from the content-addressed store, hash-verified

159// Unwrap returns PrivateErr, so that errors.Is and errors.As can inspect the
160// reason a response was rejected.
161func (ivr *InvalidResponseError) Unwrap() error {
162 return ivr.PrivateErr
163}
164
165// classifiedError keeps the message of err but also matches kinds with
166// errors.Is, so that error values can be added without changing messages

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected