Class ServerException
ServerException is thrown if the analytics server has received the request but did not process the request due to some error. For example if authorization fails.
Implements
Inherited Members
Namespace: ZohoAnalytics
Assembly: ZohoAnalytics.dll
Syntax
public sealed class ServerException : Exception, ISerializable
Methods
GetErrorCode()
Gets the error code.
Declaration
public int GetErrorCode()
Returns
| Type | Description |
|---|---|
| int | The error code. |
GetErrorMessage()
Gets the error message.
Declaration
public string GetErrorMessage()
Returns
| Type | Description |
|---|---|
| string | The error message. |
GetHTTPStatusCode()
Gets the HTTP status code.
Declaration
public int GetHTTPStatusCode()
Returns
| Type | Description |
|---|---|
| int | The HTTP status code. |