API reference
API reference
Select your platform
No SDKs available
No versions available

ErrorMitigator Class

A database of mitigations for known error codes.

Constructors

ErrorMitigator ()
Signature
Meta.Voice.Logging.ErrorMitigator.ErrorMitigator()

Methods

GetMitigation ( errorCode )
Returns the mitigation for an error code.
Signature
string Meta.Voice.Logging.ErrorMitigator.GetMitigation(ErrorCode errorCode)
Parameters
errorCode: ErrorCode  The error code.
Returns
string  The mitigation.
SetMitigation ( errorCode , mitigation )
Adds or replaces a mitigation for an error code. This is typically used by external packages to provide their own mitigations.
Signature
void Meta.Voice.Logging.ErrorMitigator.SetMitigation(ErrorCode errorCode, string mitigation)
Parameters
errorCode: ErrorCode  The error code.
mitigation: string  The mitigation.
Returns
void