Classes Files

Wombat::MamdaErrorCodes

Helper class to transform error codes into their textual description and to map mamaMsgStatus codes to MamdaErrorCodes

Public Functions

  Name
string stringForMamdaError(MamdaErrorCode code)
Return a text description of the message’s status.
MamdaErrorCode codeForMamaMsgStatus(mamaMsgStatus wombatStatus)
Returns the respective MamdaErrorCode for a mamaMsgStatus code

Public Functions Documentation

function stringForMamdaError

static string stringForMamdaError(
    MamdaErrorCode code
)

Return a text description of the message’s status.

Parameters:

  • code The error code.

Return: The description.

function codeForMamaMsgStatus

static MamdaErrorCode codeForMamaMsgStatus(
    mamaMsgStatus wombatStatus
)

Returns the respective MamdaErrorCode for a mamaMsgStatus code

Parameters:

  • wombatStatus mamaMsgStatus

Return: The respective MamdaErrorCode


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