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

Method Is

errors.go:269–276  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

267}
268
269func (e *alertError) Is(err error) bool {
270 var other *alertError
271 if errors.As(err, &other) {
272 return e.Level == other.Level && e.Description == other.Description
273 }
274
275 return false
276}
277
278// netError translates an error from underlying Conn to corresponding net.Error.
279func netError(err error) error {

Callers 12

TestValidateConfigFunction · 0.45
HandshakeContextMethod · 0.45
writePacketsMethod · 0.45
handshakeMethod · 0.45
isOpErrorTemporaryFunction · 0.45
netErrorFunction · 0.45
TestHandshakerFunction · 0.45
TestBufferAsyncFunction · 0.45
benchmarkBufferFunction · 0.45

Calls

no outgoing calls

Tested by 6

TestValidateConfigFunction · 0.36
TestHandshakerFunction · 0.36
TestBufferAsyncFunction · 0.36
benchmarkBufferFunction · 0.36