(err error)
| 245 | } |
| 246 | |
| 247 | func (e *invalidCipherSuiteError) Is(err error) bool { |
| 248 | var other *invalidCipherSuiteError |
| 249 | if errors.As(err, &other) { |
| 250 | return e.id == other.id |
| 251 | } |
| 252 | |
| 253 | return false |
| 254 | } |
| 255 | |
| 256 | // errAlert wraps DTLS alert notification as an error. |
| 257 | type alertError struct { |
nothing calls this directly
no outgoing calls
no test coverage detected