MCPcopy Create free account
hub / github.com/dcSpark/cddl-codegen / make_err_annotate_block

Function make_err_annotate_block

src/generation.rs:4834–4840  ·  view source on GitHub ↗

We need to execute field deserialization inside a closure in order to capture and annotate with the field name without having to put error annotation inside of every single cbor_event call.

(annotation: &str, before: &str, after: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

annotateMethod · 0.85
generate_enumFunction · 0.85
generate_intFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected