MCPcopy Create free account
hub / github.com/XTLS/REALITY / AlertError

TypeAlias AlertError

alert.go:13–13  ·  view source on GitHub ↗

An AlertError is a TLS alert. When using a QUIC transport, QUICConn methods will return an error which wraps AlertError rather than sending a TLS alert.

Source from the content-addressed store, hash-verified

11// When using a QUIC transport, QUICConn methods will return an error
12// which wraps AlertError rather than sending a TLS alert.
13type AlertError uint8
14
15func (e AlertError) Error() string {
16 return alert(e).String()

Callers 2

handshakeContextMethod · 0.85
quicErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected