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

Method APIError

jetstream/errors.go:25–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 // In case of client-side error, [APIError] returns nil.
24 JetStreamError interface {
25 APIError() *APIError
26 error
27 }
28

Callers 4

TestJetStreamErrorsFunction · 0.95
TestKeyValueCreateFunction · 0.95
TestJetStreamErrorsFunction · 0.65
TestKeyValueCreateFunction · 0.65

Implementers 4

APIErrorjserrors.go
jsErrorjserrors.go
APIErrorjetstream/errors.go
jsErrorjetstream/errors.go

Calls

no outgoing calls

Tested by 4

TestJetStreamErrorsFunction · 0.76
TestKeyValueCreateFunction · 0.76
TestJetStreamErrorsFunction · 0.52
TestKeyValueCreateFunction · 0.52