3.2.5.7.1 Processing Set Error Info PDU
The structure and fields of the Set Error Info PDU are specified in section 2.2.5.1, and the techniques specified in section 3.2.5.2 demonstrate how to process the contents of the PDU.
The Set Error Info PDU is sent as a precursor to a server-side disconnect and informs the client of the reason for the disconnection which will follow. Once this PDU has been processed, the client MUST store the error code so that the reason for the server disconnect which will follow can be accurately reported to the user.