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