Class ErrorReason

The reason codes used to report error conditions.

Inheritance
System.Object
ErrorReason
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

The reason code for access denied due to insufficient permissions.

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

The reason code for a callback exception.

CLUSTER_REPARTITION

A cluster operation failed because partition ownership changed during processing. This is a transient error that occurs while the cluster is recovering from failure. The session can retry the operation.

Declaration
public static readonly ErrorReason CLUSTER_REPARTITION
Field Value
Type Description
ErrorReason

The reason code for cluster repartitioning failure.

CLUSTER_ROUTING

A cluster operation failed to be routed to a server within the cluster due to a communication failure, or the server that owns a partition is not currently known. This is a transient error that occurs while the cluster is recovering from failure. The session can retry the operation.

Declaration
public static readonly ErrorReason CLUSTER_ROUTING
Field Value
Type Description
ErrorReason

The reason code for cluster routing failure.

COMMUNICATION_FAILURE

Communication with the server failed.

Declaration
public static readonly ErrorReason COMMUNICATION_FAILURE
Field Value
Type Description
ErrorReason

The reason code for communication with server failure.

DELTA_WITHOUT_VALUE

Indicates that an attempt has been made to apply a delta to a topic that has not yet had a value specified for it.

Declaration
public static readonly ErrorReason DELTA_WITHOUT_VALUE
Field Value
Type Description
ErrorReason

The reason code for a delta without value.

Remarks

Since 5.8

DUPLICATES

Indicates that for topic types that operate a policy to prevent duplicate data an update has been supplied that violates the duplicates policy.

Declaration
public static readonly ErrorReason DUPLICATES
Field Value
Type Description
ErrorReason

The reason code for duplicates policy violation.

EXCLUSIVE_UPDATER_CONFLICT

Indicates that a non-exclusive update has been attempted when an exclusive update source is already registered for the specified topic's branch.

Declaration
public static readonly ErrorReason EXCLUSIVE_UPDATER_CONFLICT
Field Value
Type Description
ErrorReason

The reason code for exclusive updater conflict.

HANDLER_CONFLICT

A conflicting registration exists.

Declaration
public static readonly ErrorReason HANDLER_CONFLICT
Field Value
Type Description
ErrorReason

The reason code for handler conflict.

INCOMPATIBLE_DATATYPE

A DataType operation has failed due to incompatibility.

Declaration
public static readonly ErrorReason INCOMPATIBLE_DATATYPE
Field Value
Type Description
ErrorReason

The reason code for an incompatible data type.

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

The reason code for incompatible state.

INCOMPATIBLE_UPDATE

Indicates that an update has been supplied which is incompatible with the type of topic that it is being applied to.

Declaration
public static readonly ErrorReason INCOMPATIBLE_UPDATE
Field Value
Type Description
ErrorReason

The reason code for an incompatible update.

INVALID_ADDRESS

Indicates that for topic types with addressable data a supplied key or index is invalid or does not correspond to a current entry.

Declaration
public static readonly ErrorReason INVALID_ADDRESS
Field Value
Type Description
ErrorReason

The reason code for an invalid address.

INVALID_DATA

The data provided is invalid.

Declaration
public static readonly ErrorReason INVALID_DATA
Field Value
Type Description
ErrorReason

The reason code for invalid data.

INVALID_PATH

An invalid path was supplied.

Declaration
public static readonly ErrorReason INVALID_PATH
Field Value
Type Description
ErrorReason

The reason code for an invalid path.

INVALID_UPDATER

Indicates that the updater used is not in a valid state for sending updates.

Declaration
public static readonly ErrorReason INVALID_UPDATER
Field Value
Type Description
ErrorReason

The reason code for an invalid updater.

MISSING_TOPIC

Indicates that a topic with the path specified for the update does not exist.

Declaration
public static readonly ErrorReason MISSING_TOPIC
Field Value
Type Description
ErrorReason

The reason code for a missing topic.

NO_SUCH_SESSION

The session does not exist on the server.

Declaration
public static readonly ErrorReason NO_SUCH_SESSION
Field Value
Type Description
ErrorReason

The reason code for no session found.

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

The reason code for request time out.

SESSION_CLOSED

Communication with the server failed because the session is closed.

Declaration
public static readonly ErrorReason SESSION_CLOSED
Field Value
Type Description
ErrorReason

The reason code for session closed.

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

The reason code for topic tree registration conflict.

UNHANDLED_MESSAGE

A message was not handled by the server.

Declaration
public static readonly ErrorReason UNHANDLED_MESSAGE
Field Value
Type Description
ErrorReason

The reason code for an unhandled message.

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

The reason code for an unsupported service.

UPDATE_FAILED

Indicates that an update failed, probably because the content sent with the update was invalid or incompatible with the topic type or expected data format.

Declaration
public static readonly ErrorReason UPDATE_FAILED
Field Value
Type Description
ErrorReason

The reason code for an update failure.

Properties

Description

Returns the error reason description.

Declaration
public string Description { get; }
Property Value
Type Description
System.String

The error reason description.

ReasonCode

Returns the code that uniquely identifies this reason.

Declaration
public int ReasonCode { get; }
Property Value
Type Description
System.Int32

The code that uniquely identifies the error reason.

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
System.Object obj

The object to compare with the current error reason.

Returns
Type Description
System.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
System.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
System.String

The string that represents the current error reason.

Back to top