Caplin Trader 4.7.1

Class: module:caplin/services/messaging/PublishError

module:caplin/services/messaging/PublishError

Constructor

new module:caplin/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.