RetailMediaChannelTwitterConnector::formatErrorMessageFromWebResponse Method [AX 2012]

Formats error message. It will include errorDetail into the message if the parameter is not empty.

client server public static str formatErrorMessageFromWebResponse(RetailWebResponse _webResponse)

Run On

Called

Parameters

_webResponse
Type: RetailWebResponse Class
The RetailWebResponse object to extract the error message from and format.

Return Value

Type: str
Returns the formated error message
Show: