Skip to content

docs: set the decode-failure policy through the subscriber clause - #208

Merged
powersemmi merged 1 commit into
mainfrom
docs/codecs-decode-failure
Aug 6, 2026
Merged

docs: set the decode-failure policy through the subscriber clause#208
powersemmi merged 1 commit into
mainfrom
docs/codecs-decode-failure

Conversation

@powersemmi

Copy link
Copy Markdown
Owner

The decode-failures example in the codecs guide built a handler by hand (typed(codec, ..) + on_decode_failure + b.handle) where the subscriber macro's on_failure(decode = ..) clause is the user-facing form. The snippet now shows the clause; the hand-built path stays as a one-line mention. The example compiles and runs as before.

@powersemmi
powersemmi merged commit 49c9e2e into main Aug 6, 2026
24 checks passed
@powersemmi
powersemmi deleted the docs/codecs-decode-failure branch August 6, 2026 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant