When the server cancels backup due to a timeout or lost interest, the jetstream backup client does not return an error. This change parses the error from the nats message header and returns an error to the caller if it's anything but a successful 204.
When the server cancels backup due to a timeout or lost interest, the jetstream backup client does not return an error. This change parses the error from the nats message header and returns an error to the caller if it's anything but a successful 204.
https://github.com/nats-io/nats-server/blob/main/server/jetstream_api.go#L3823