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

Method Error

errors.go:261–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

259}
260
261func (e *alertError) Error() string {
262 return fmt.Sprintf("alert: %s", e.Alert.String())
263}
264
265func (e *alertError) IsFatalOrCloseNotify() bool {
266 return e.Level == alert.Fatal || e.Description == alert.CloseNotify

Callers 15

TestValidateConfigFunction · 0.45
TestPSKFunction · 0.45
TestPSKConfigurationFunction · 0.45
TestOnConnectionAttemptFunction · 0.45
TestMultiHandshakeFunction · 0.45
TestErrorNetErrorFunction · 0.45
TestRSAPSSVsPKCS1v15Function · 0.45

Calls 1

StringMethod · 0.65

Tested by 15

TestValidateConfigFunction · 0.36
TestPSKFunction · 0.36
TestPSKConfigurationFunction · 0.36
TestOnConnectionAttemptFunction · 0.36
TestMultiHandshakeFunction · 0.36
TestErrorNetErrorFunction · 0.36
TestRSAPSSVsPKCS1v15Function · 0.36