Skip to content

Commit ac28594

Browse files
myleshortonclaude
andcommitted
address review: generalize ConsumerQuicError::Cancelled message
Cancelled is returned by both accept and open_bi/dial, so the message no longer claims "accept"; use "consumer QUIC operation was cancelled". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7d86091 commit ac28594

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/consumer_quic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub enum ConsumerQuicError {
3636
Endpoint(#[from] io::Error),
3737
#[error("consumer QUIC endpoint is closed")]
3838
Closed,
39-
#[error("consumer QUIC accept was cancelled")]
39+
#[error("consumer QUIC operation was cancelled")]
4040
Cancelled,
4141
#[error("consumer QUIC handshake failed: {0}")]
4242
Handshake(#[from] quinn::ConnectionError),

0 commit comments

Comments
 (0)