fourdgsRefusalCodes top-level constant
Every refusal this reader can name (spec: the refusal table).
Named constants rather than string literals at the raise sites, because these are compared across six implementations: a typo in one is a conformance failure that reads like a decoder bug. This set exists so a test can assert that a code it saw is one of the six rather than something invented locally.
Implementation
const Set<String> fourdgsRefusalCodes = <String>{
refusalMagicMismatch,
refusalUnsupportedMajorVersion,
refusalUnknownTemporalModel,
refusalUnknownQuantizationScheme,
refusalUnknownStreamCodec,
refusalWindowIndexOutOfRange,
};