Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

AuErrorEvent - error event structure

Description

       Error events are sent to clients to alert them of non-fatal errors encountered while processing requests.

Members

type      The event type.  Error events are type 0.

       serial    The serial number of the failed request.

       send_eventAuTrue if the event came from a SendEvent protocol request.

       server    The connection to the audio server that the event was read from.

       time      The server time in milliseconds when the event was generated.

       resourceid
                 The resource ID or other value of the failed request.

       error_code
                 The error code of the failed request.

       request_code
                 The protocol major request code of the failed request.

       minor_code
                 The protocol minor request code of the failed request.

       data      Never used?

Name

AuErrorEvent - error event structure

See Also

AuAnyEvent, AuElementNotifyEvent, AuGrabNotifyEvent, AuMonitorNotifyEvent.

       audiolib - NetworkAudioSystem C Language Interface

audiolib - events                                     1.9.4                                      AuErrorEvent(3)

Structures

       #include <audio/audiolib.h>

       typedef union _AuEvent
       {
           . . .
           AuErrorEventauerror;
           . . .
       }AuEvent;

       typedef struct _AuErrorEvent
       {
           int type;
           AuUint32serial;
           AuBoolsend_event;
           AuServer *server;
           AuTimetime;
           AuIDresourceid;
           unsigned char error_code;
           unsigned char request_code;
           unsigned char minor_code;
           union
           {
               AuUint32l[4];
           }data;
       }AuErrorEvent;

See Also