6#pragma warning disable CA1032
31 : base((errorMessage ?? throw new ArgumentNullException(nameof(errorMessage))).Message ?? fallbackMessage)
33 ErrorCode = errorMessage.ErrorCode !=
default ? errorMessage.ErrorCode :
null;
Represents an error message returned by the server.
string? AdditionalData
Additional data associated with the error message.
Exception representing ErrorMessageResponses.
ErrorMessageException(ErrorCode errorCode)
Initializes a new instance of the ErrorMessageException class.
string? AdditionalData
The ErrorMessageResponse.AdditionalData.
ErrorMessageException(ErrorMessageResponse errorMessage, string fallbackMessage)
Initializes a new instance of the ErrorMessageException class.
ErrorCode
Types of Response.ErrorMessageResponses that the API may return.