()
| 99 | } |
| 100 | |
| 101 | func (e alert) String() string { |
| 102 | s, ok := alertText[e] |
| 103 | if ok { |
| 104 | return "tls: " + s |
| 105 | } |
| 106 | return "tls: alert(" + strconv.Itoa(int(e)) + ")" |
| 107 | } |
| 108 | |
| 109 | func (e alert) Error() string { |
| 110 | return e.String() |
no outgoing calls
no test coverage detected