Skip to content

StandardErrorsEx ​

Extension methods for CrowdControl.Common.StandardErrors.

Kind: Static class

Namespace: CrowdControl.Common

Public Static Functions

ErrorMessage

GetMessage(StandardErrors error)

Gets the message for the given error.

string

GetFriendlyMessage(StandardErrors error, object[] parameters)

Gets the friendly message for the given error.

string

GetTechnicalMessage(StandardErrors error, object[] parameters)

Gets the technical message for the given error.

ErrorMessage

WithFriendly(StandardErrors error, string message)

ErrorMessage

WithFriendly(StandardErrors error, MessageSource message)

ErrorMessage

WithTechnical(StandardErrors error, string message)

ErrorMessage

WithTechnical(StandardErrors error, MessageSource message)

ErrorSource

SourceType(MethodBase method)

Gets the source type of the given method.

ErrorSource

SourceType(StandardErrors error)

Gets the source type of the given method.

bool

IsAbnormal(StandardErrors error)

Checks if the error is abnormal or expected as part of regular gameplay.