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