xdrpp
RFC4506 XDR compiler and message library
xdr::xdr_wrong_union Struct Reference

Attempt to access wrong field of a union. More...

#include <types.h>

Inheritance diagram for xdr::xdr_wrong_union:
Inheritance graph
[legend]
Collaboration diagram for xdr::xdr_wrong_union:
Collaboration graph
[legend]

Detailed Description

Attempt to access wrong field of a union.

Note that this is not an xdr_runtime_error, because it cannot result from unmarshalling garbage arguments. Rather it is a logic error in application code that neglected to check the union discriminant before accessing the wrong field.

Definition at line 75 of file types.h.


The documentation for this struct was generated from the following file: