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

Method Error

nats.go:3008–3010  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3006}
3007
3008func (nerr *natsProtoErr) Error() string {
3009 return fmt.Sprintf("nats: %s", nerr.description)
3010}
3011
3012func (nerr *natsProtoErr) Is(err error) bool {
3013 return strings.ToLower(nerr.Error()) == err.Error()

Callers 1

IsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected