Classes Files

com::wombat::mamda::MamdaErrorListener

More…

Public Functions

  Name
void onError(MamdaSubscription subscription, short severity, short errorCode, String errorStr)

Detailed Description

class com::wombat::mamda::MamdaErrorListener;

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

Public Functions Documentation

function onError

void onError(
    MamdaSubscription subscription,
    short severity,
    short errorCode,
    String errorStr
)

Parameters:

  • subscription The subscription which received the update.
  • severity The severity of the error.
  • errorCode The errorCode. ([MamdaErrorCode](classcom_1_1wombat_1_1mamda_1_1MamdaErrorCode.html))
  • errorStr The stringified version of the error.

See: MamdaErrorCode

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


Updated on 2023-03-31 at 15:30:32 +0100