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

Method Error

jserrors.go:216–218  ·  view source on GitHub ↗

Error prints the JetStream API error code and description

()

Source from the content-addressed store, hash-verified

214
215// Error prints the JetStream API error code and description
216func (e *APIError) Error() string {
217 return fmt.Sprintf("nats: %s", e.Description)
218}
219
220// APIError implements the JetStreamError interface.
221func (e *APIError) APIError() *APIError {

Callers 1

TestJetStreamErrorsFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestJetStreamErrorsFunction · 0.76