(err error, kinds ...error)
| 177 | } |
| 178 | |
| 179 | func classify(err error, kinds ...error) error { |
| 180 | if err == nil { |
| 181 | return nil |
| 182 | } |
| 183 | return &classifiedError{err: err, kinds: kinds} |
| 184 | } |
| 185 | |
| 186 | // classifyCertificate reports whether a signature that failed to validate |
| 187 | // against roots was made with an untrusted certificate, or with a trusted |
no outgoing calls