API reference

ErrorMitigator Class

A database of mitigations for known error codes.

Overview

Properties

Public Member Functions

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

Details

Properties

ErrorMitigator Meta.Voice.Logging.ErrorMitigator.Instance
No description available.

Member Functions

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