Class ErrorReason
The reason codes used to report error conditions.
Namespace: PushTechnology.ClientInterface.Client.Callbacks
Assembly: Diffusion.Client.dll
Syntax
public sealed class ErrorReason : object
Remarks
Since 5.1
Fields
ACCESS_DENIED
The request was rejected because the caller has insufficient permissions.
Declaration
public static readonly ErrorReason ACCESS_DENIED
Field Value
Type | Description |
---|---|
ErrorReason |
CALLBACK_EXCEPTION
An application callback threw an exception. Check logs for more information.
Declaration
public static readonly ErrorReason CALLBACK_EXCEPTION
Field Value
Type | Description |
---|---|
ErrorReason |
CLUSTER_REPARTITION
An operation on a replicated topic failed because the cluster was repartitioning due to a server starting, stopping, or failing. The session can retry the operation.
Declaration
public static readonly ErrorReason CLUSTER_REPARTITION
Field Value
Type | Description |
---|---|
ErrorReason |
COMMUNICATION_FAILURE
Communication with the server failed.
Declaration
public static readonly ErrorReason COMMUNICATION_FAILURE
Field Value
Type | Description |
---|---|
ErrorReason |
HANDLER_CONFLICT
A conflicting registration exists.
Declaration
public static readonly ErrorReason HANDLER_CONFLICT
Field Value
Type | Description |
---|---|
ErrorReason |
INCOMPATIBLE_DATATYPE
A DataType
operation has failed due to incompatibility.
Declaration
public static readonly ErrorReason INCOMPATIBLE_DATATYPE
Field Value
Type | Description |
---|---|
ErrorReason |
INCOMPATIBLE_STATE
A topic update could not be performed because the topic is managed by a component (for example fan-out) which prohibits external updates.
Declaration
public static readonly ErrorReason INCOMPATIBLE_STATE
Field Value
Type | Description |
---|---|
ErrorReason |
INVALID_DATA
The data provided is invalid.
Declaration
public static readonly ErrorReason INVALID_DATA
Field Value
Type | Description |
---|---|
ErrorReason |
INVALID_PATH
An invalid path was supplied.
Declaration
public static readonly ErrorReason INVALID_PATH
Field Value
Type | Description |
---|---|
ErrorReason |
NO_SUCH_SESSION
The session does not exist on the server.
Declaration
public static readonly ErrorReason NO_SUCH_SESSION
Field Value
Type | Description |
---|---|
ErrorReason |
REQUEST_TIME_OUT
Communication with the server failed because a service request timed out.
Declaration
public static readonly ErrorReason REQUEST_TIME_OUT
Field Value
Type | Description |
---|---|
ErrorReason |
SESSION_CLOSED
Communication with the server failed because the session is closed.
Declaration
public static readonly ErrorReason SESSION_CLOSED
Field Value
Type | Description |
---|---|
ErrorReason |
TOPIC_TREE_REGISTRATION_CONFLICT
A conflicting, pre-existing registration exists on the same branch of the topic tree.
Declaration
public static readonly ErrorReason TOPIC_TREE_REGISTRATION_CONFLICT
Field Value
Type | Description |
---|---|
ErrorReason |
UNHANDLED_MESSAGE
A message was not handled by the server.
Declaration
public static readonly ErrorReason UNHANDLED_MESSAGE
Field Value
Type | Description |
---|---|
ErrorReason |
UNSUPPORTED
The request was rejected because the requested service is unsupported for this caller.
Declaration
public static readonly ErrorReason UNSUPPORTED
Field Value
Type | Description |
---|---|
ErrorReason |
Properties
Description
Returns the error reason description.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
String |
ReasonCode
Returns the code that uniquely identifies this reason.
Declaration
public int ReasonCode { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
Equals(Object)
Determines whether the given object is equal to the current error reason.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare with the current error reason. |
Returns
Type | Description |
---|---|
Boolean | True if the given object is equal to the current error reason. Otherwise false. |
GetHashCode()
Returns the hash code for the current error reason.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code for the current error reason. |
ToString()
Returns a string that represents the current error reason.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The string that represents the current error reason. |