extend ErrNoTransportSecurity message
This commit is contained in:
@ -53,7 +53,7 @@ var (
|
|||||||
// ErrNoTransportSecurity indicates that there is no transport security
|
// ErrNoTransportSecurity indicates that there is no transport security
|
||||||
// being set for ClientConn. Users should either set one or explicityly
|
// being set for ClientConn. Users should either set one or explicityly
|
||||||
// call WithInsecure DialOption to disable security.
|
// call WithInsecure DialOption to disable security.
|
||||||
ErrNoTransportSecurity = errors.New("grpc: no transport security set")
|
ErrNoTransportSecurity = errors.New("grpc: no transport security set (use grpc.WithInsecure() or set one)")
|
||||||
// ErrClientConnClosing indicates that the operation is illegal because
|
// ErrClientConnClosing indicates that the operation is illegal because
|
||||||
// the session is closing.
|
// the session is closing.
|
||||||
ErrClientConnClosing = errors.New("grpc: the client connection is closing")
|
ErrClientConnClosing = errors.New("grpc: the client connection is closing")
|
||||||
|
Reference in New Issue
Block a user