Unwrap returns PrivateErr, so that errors.Is and errors.As can inspect the reason a response was rejected.
()
| 159 | // Unwrap returns PrivateErr, so that errors.Is and errors.As can inspect the |
| 160 | // reason a response was rejected. |
| 161 | func (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 |
nothing calls this directly
no outgoing calls
no test coverage detected