MCPcopy
hub / github.com/nats-io/nats.go / Is

Method Is

nats.go:3012–3014  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

3010}
3011
3012func (nerr *natsProtoErr) Is(err error) bool {
3013 return strings.ToLower(nerr.Error()) == err.Error()
3014}
3015
3016// Send a connect protocol message to the server, issue user/password if
3017// applicable. Will wait for a flush to return from the server for error

Callers 3

tlsHandshakeEOFMethod · 0.45
isConnClosedErrorFunction · 0.45
processTransientErrorMethod · 0.45

Calls 2

ErrorMethod · 0.95
ErrorMethod · 0.65

Tested by

no test coverage detected