Classes Files

Wombat::MamdaErrorListener

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

Public Functions

  Name
void onError(MamdaSubscription subscription, MamdaErrorSeverity severity, MamdaErrorCode errorCode, string errorMessage)
Provide a callback to handle errors. The severity is intended as a hint to indicate whether the error is recoverable.

Public Functions Documentation

function onError

void onError(
    MamdaSubscription subscription,
    MamdaErrorSeverity severity,
    MamdaErrorCode errorCode,
    string errorMessage
)

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

Parameters:

  • subscription The subscription which received the update.
  • severity The severity of the error.
  • errorCode The errorCode. (
MamdaErrorCode

)

  • errorMessage The stringified version of the error.

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