Classes Files

Wombat::MamdaBasicErrorListener

More…

#include <MamdaErrorListener.h>

Public Functions

  Name
virtual void onError(MamdaBasicSubscription * subscription, MamdaErrorSeverity severity, MamdaErrorCode errorCode, const char * errorStr) =0
virtual ~MamdaBasicErrorListener()

Detailed Description

class Wombat::MamdaBasicErrorListener;

MamdaBasicErrorListener defines an interface for handling error notifications for a MamdaBasicSubscription.

Public Functions Documentation

function onError

virtual void onError(
    MamdaBasicSubscription * subscription,
    MamdaErrorSeverity severity,
    MamdaErrorCode errorCode,
    const char * errorStr
) =0

Provide a callback to handle errors. The severity is intended as a hint to indicate whether the error is recoverable.

function ~MamdaBasicErrorListener

inline virtual ~MamdaBasicErrorListener()

Updated on 2023-03-31 at 15:29:57 +0100