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

Interface JetStreamError

jserrors.go:241–244  ·  jserrors.go::JetStreamError

JetStreamError is an error result that happens when using JetStream. In case of client-side error, `APIError()` returns nil

Source from the content-addressed store, hash-verified

239// JetStreamError is an error result that happens when using JetStream.
240// In case of client-side error, `APIError()` returns nil
241type JetStreamError interface {
242 APIError() *APIError
243 error
244}
245
246type jsError struct {
247 apiErr *APIError

Callers 2

TestJetStreamErrorsFunction · 0.95
TestKeyValueCreateFunction · 0.95

Implementers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected