Classes Files

Wombat::MamdaErrorListener

More…

#include <MamdaErrorListener.h>

Public Functions

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

Detailed Description

class Wombat::MamdaErrorListener;

MamdaErrorListener defines an interface for handling error notifications for a MamdaSubscription.

Public Functions Documentation

function onError

virtual void onError(
    MamdaSubscription * 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 ~MamdaErrorListener

inline virtual ~MamdaErrorListener()

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