Class ErrorReason
- Namespace
- PushTechnology.ClientInterface.Client.Callbacks
- Assembly
- Diffusion.Client.dll
The reason codes used to report error conditions.
public sealed class ErrorReason
- Inheritance
-
ErrorReason
- Inherited Members
Remarks
Since 5.1
Fields
ACCESS_DENIED
The request was rejected because the caller has insufficient permissions.
public static readonly ErrorReason ACCESS_DENIED
Field Value
- ErrorReason
The reason code for access denied due to insufficient permissions.
CALLBACK_EXCEPTION
An application callback threw an exception. Check logs for more information.
public static readonly ErrorReason CALLBACK_EXCEPTION
Field Value
- 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.
public static readonly ErrorReason CLUSTER_REPARTITION
Field Value
- 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.
public static readonly ErrorReason CLUSTER_ROUTING
Field Value
- ErrorReason
The reason code for cluster routing failure.
COMMUNICATION_FAILURE
Communication with the server failed.
public static readonly ErrorReason COMMUNICATION_FAILURE
Field Value
- 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.
public static readonly ErrorReason DELTA_WITHOUT_VALUE
Field Value
- 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.
public static readonly ErrorReason DUPLICATES
Field Value
- 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.
[Obsolete("Deprecated since 6.6. No longer used - will be removed in a future release.")]
public static readonly ErrorReason EXCLUSIVE_UPDATER_CONFLICT
Field Value
- ErrorReason
The reason code for exclusive updater conflict.
HANDLER_CONFLICT
A conflicting registration exists.
public static readonly ErrorReason HANDLER_CONFLICT
Field Value
- ErrorReason
The reason code for handler conflict.
INCOMPATIBLE_DATATYPE
A DataType operation has failed due to incompatibility.
public static readonly ErrorReason INCOMPATIBLE_DATATYPE
Field Value
- 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.
public static readonly ErrorReason INCOMPATIBLE_STATE
Field Value
- 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.
public static readonly ErrorReason INCOMPATIBLE_UPDATE
Field Value
- 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.
public static readonly ErrorReason INVALID_ADDRESS
Field Value
- ErrorReason
The reason code for an invalid address.
INVALID_DATA
The data provided is invalid.
public static readonly ErrorReason INVALID_DATA
Field Value
- ErrorReason
The reason code for invalid data.
INVALID_PATH
An invalid path was supplied.
public static readonly ErrorReason INVALID_PATH
Field Value
- ErrorReason
The reason code for an invalid path.
INVALID_UPDATER
Indicates that the updater used is not in a valid state for sending updates.
public static readonly ErrorReason INVALID_UPDATER
Field Value
- ErrorReason
The reason code for an invalid updater.
MISSING_TOPIC
Indicates that a topic with the path specified for the update does not exist.
public static readonly ErrorReason MISSING_TOPIC
Field Value
- ErrorReason
The reason code for a missing topic.
NO_SUCH_SESSION
The session does not exist on the server.
public static readonly ErrorReason NO_SUCH_SESSION
Field Value
- ErrorReason
The reason code for no session found.
REQUEST_TIME_OUT
Communication with the server failed because a service request timed out.
public static readonly ErrorReason REQUEST_TIME_OUT
Field Value
- ErrorReason
The reason code for request time out.
SESSION_CLOSED
Communication with the server failed because the session is closed.
public static readonly ErrorReason SESSION_CLOSED
Field Value
- 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.
public static readonly ErrorReason TOPIC_TREE_REGISTRATION_CONFLICT
Field Value
- ErrorReason
The reason code for topic tree registration conflict.
UNHANDLED_MESSAGE
A message was not handled by the server.
public static readonly ErrorReason UNHANDLED_MESSAGE
Field Value
- ErrorReason
The reason code for an unhandled message.
UNSUPPORTED
The request was rejected because the requested service is unsupported for this caller.
public static readonly ErrorReason UNSUPPORTED
Field Value
- 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.
public static readonly ErrorReason UPDATE_FAILED
Field Value
- ErrorReason
The reason code for an update failure.
Properties
Description
Returns the error reason description.
public string Description { get; }
Property Value
- string
The error reason description.
ReasonCode
Returns the code that uniquely identifies this reason.
public int ReasonCode { get; }
Property Value
- int
The code that uniquely identifies the error reason.
Methods
Equals(object)
Determines whether the given object is equal to the current error reason.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current error reason.
Returns
- bool
True if the given object is equal to the current error reason. Otherwise false.
GetHashCode()
Returns the hash code for the current error reason.
public override int GetHashCode()
Returns
- int
The hash code for the current error reason.
ToString()
Returns a string that represents the current error reason.
public override string ToString()
Returns
- string
The string that represents the current error reason.