DSErrorCode

Error code enumeration.

Synopsis

typedef enum DSErrorCode {
   kDSNoErr 0,
   kDSAbortErr -1000,
   kDSEndOfFileErr,
   kDSWasFlushedErr,
   kDSNotRunningErr,
   kDSWasRunningErr,
   kDSNoPortErr,
   kDSNoMsgErr,
   kDSNotOpenErr,
   kDSNoMemErr,
   kDSNoSignalErr,
   kDSSignalErr,
   kDSNoReplyPortErr,
   kDSBadConnectPortErr,
   kDSSubDuplicateErr,
   kDSSubMaxErr,
   kDSSubNotFoundErr,
   kDSInvalidTypeErr,
   kDSBadBufAlignErr,
   kDSBadChunkSizeErr,
   kDSInitErr,
   kDSClockNotValidErr,
   kDSInvalidDSRequest,
   kDSEOSRegistrationErr
}

Description

The set of error codes the streamer uses to describe fault conditions.

Fields

kDSNoErr
No error, successful completion.
kDSAbortErr
Some error occurred.
kDSEndOfFileErr
End of file reached.
kDSWasFlushedErr
Buffer was flushed.
kDSNotRunningErr
Stream not running.
kDSWasRunningErr
Stream already running.
kDSNoPortErr
Couldn't allocate a message port for stream.
kDSNoMsgErr
Couldn't allocate message item for a data buffer.
kDSNotOpenErr
Stream not open.
kDSNoMemErr
Couldn't allocate needed memory.
kDSNoSignalErr
Couldn't allocate needed signal.
kDSSignalErr
Problem sending/receiving a signal.
kDSNoReplyPortErr
Message requires a reply port.
kDSBadConnectPortErr
Invalid port specified for data connection.
kDSSubDuplicateErr
Duplicate subscriber.
kDSSubMaxErr
Subscriber table full, too many subscribers.
kDSSubNotFoundErr
Specified subscriber not found.
kDSInvalidTypeErr
Invalid subscriber data type specified.
kDSBadBufAlignErr
Buffer list passed to DSHOpenStream contains a non QUADBYTE aligned buffer.
kDSBadChunkSizeErr
Chunk size in stream is a non-QUADBYTE multiple.
kDSInitErr
Some internal initialization failed.
kDSClockNotValidErr
Clock dependent call failed because clock not set.
kDSInvalidDSRequest
Unknown request message send to server thread.
kDSEOSRegistrationErr
EOS registrant replaced by new registrant.

Associated Files

DataStream.h