Table of Contents

Constructor MailAccessTokenUnavailableException

Namespace
MailFathom.Infrastructure.Mail.OAuth
Assembly
MailFathom.Infrastructure.dll

MailAccessTokenUnavailableException(string, string)

Initializes a failure the authorization server stated in its response.

public MailAccessTokenUnavailableException(string accountId, string authorizationServerErrorCode)

Parameters

accountId string

The local account identifier.

authorizationServerErrorCode string

The authorization server's RFC 6749 error code.

Exceptions

ArgumentNullException

Thrown when an argument is null.

MailAccessTokenUnavailableException(string, Exception)

Initializes a failure that happened before any response could state one.

public MailAccessTokenUnavailableException(string accountId, Exception innerException)

Parameters

accountId string

The local account identifier.

innerException Exception

The transport or parsing failure underneath.

Remarks

The two constructors are the two outcomes: a refusal the server decided, and a request that never reached one. Retry classification reads exactly that distinction.

Exceptions

ArgumentNullException

Thrown when an argument is null.