github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/crypto/tls/alert.go (about)

     1  // Copyright 2009 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package tls
     6  
     7  // AlertErrorはTLSアラートです。
     8  //
     9  // QUICトランスポートを使用する場合、QUICConnのメソッドは
    10  // TLSアラートを送信する代わりにAlertErrorをラップしたエラーを返します。
    11  type AlertError uint8
    12  
    13  func (e AlertError) Error() string