Caplin Trader 5.1.0

Class: module:ct-services/messaging/PublishError

module:ct-services/messaging/PublishError()

new module:ct-services/messaging/PublishError()

Enumeration that defines errors that can occur when publishing to a subject.

Members

(static) INVALID_PARAMETERS

Supplied parameters are invalid for this subject type.

(static) NOT_FOUND

The subject could not be found.

(static) RESULT_UNKNOWN

It is unknown if the publish was successful or not. This could be due to a loss of connection between the client and the server.

(static) WRITE_DENIED

The client does not have permission to write to the subject.

(static) WRITE_DENIED_LICENCE_EXPIRED

The publish was rejected as a breach of license parameters was detected.