Class GoogleClientException

GoogleClientException class

The exception that is thrown when a request to a Google service fails.

public class GoogleClientException : AsposeException

Constructors

NameDescription
GoogleClientException()Initializes a new instance of the GoogleClientException class.
GoogleClientException(Exception)Initializes a new instance of the GoogleClientException class with a reference to the exception that caused it.
GoogleClientException(string)Initializes a new instance of the GoogleClientException class with the specified error message.
GoogleClientException(string, Exception)Initializes a new instance of the GoogleClientException class with the specified error message and a reference to the exception that caused it.

Properties

NameDescription
ErrorCode { get; }Gets the error code returned by the Google service.
ErrorDetails { get; }Gets additional information about the error, if the operation provides any.
override Message { get; }Gets the message that describes the error.

Methods

NameDescription
override ToString()Returns the type, the message and the stack trace of the exception.

See Also