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
serverSuppliedvaluestringThe
errormember of the response, which may be anything.
Returns
- string
The sanitized code, or
unspecifiedwhen nothing usable remained.