Skip to main content

Module error_codes

Module error_codes 

Source
Expand description

Error and status code registries defined by MoQT draft-16.

Each registry in Section 13.4 of the draft becomes one enum here. Variant names are the draft’s ALLCAPS names in UpperCamelCase; every variant’s doc comment repeats the draft spelling so the mapping stays checkable against the specification.

from_u64 returns None for a code this draft does not define. Peers legitimately send codes from other draft versions or from private extensions, so an unknown code is a decode result to handle, not a fault.

Enums§

DataStreamResetErrorCode
Error codes carried in RESET_STREAM and RESET_STREAM_AT on a data stream.
PublishDoneStatusCode
Status codes carried in the PUBLISH_DONE control message.
RequestErrorCode
Error codes carried in the REQUEST_ERROR control message.
SessionErrorCode
Session termination error codes.