Table of Contents

Method Sanitize

Namespace
MailFathom.Common.OAuth
Assembly
MailFathom.Common.dll

Sanitize(string?)

Reduces a server-supplied error code to printable, single-line text of bounded length.

public static string Sanitize(string? serverSuppliedvalue)

Parameters

serverSuppliedvalue string

The error member of the response, which may be anything.

Returns

string

The sanitized code, or unspecified when nothing usable remained.