MCPcopy Create free account
hub / github.com/pion/dtls / IsFatalOrCloseNotify

Method IsFatalOrCloseNotify

errors.go:265–267  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263}
264
265func (e *alertError) IsFatalOrCloseNotify() bool {
266 return e.Level == alert.Fatal || e.Description == alert.CloseNotify
267}
268
269func (e *alertError) Is(err error) bool {
270 var other *alertError

Callers 3

readAndBufferMethod · 0.95
handleQueuedPacketsMethod · 0.95
handshakeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected