MCPcopy Create free account
hub / github.com/XTLS/Go / String

Method String

alert.go:89–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87}
88
89func (e alert) String() string {
90 s, ok := alertText[e]
91 if ok {
92 return "tls: " + s
93 }
94 return "tls: alert(" + strconv.Itoa(int(e)) + ")"
95}
96
97func (e alert) Error() string {
98 return e.String()

Callers 15

ErrorMethod · 0.95
generate_cert.goFile · 0.45
unmarshalMethod · 0.45
unmarshalMethod · 0.45
unmarshalMethod · 0.45
unmarshalMethod · 0.45
unmarshalMethod · 0.45
unmarshalMethod · 0.45
unmarshalMethod · 0.45
unmarshalMethod · 0.45
unmarshalMethod · 0.45
unmarshalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected