pub fn unexpected_wire_type(wire_type: WireType) -> ProtobufError
Expand description

Create an error for unexpected wire type.

Function is used in generated code, so error types can be changed, but this function remains unchanged.