From 2df50fcd7a550ccb1ae3165d7bd89d282e04b12a Mon Sep 17 00:00:00 2001
From: Roman Volosatovs
A catch all for other types of errors +
variant metadata-errorErrors that can occur when adding metadata to a message
+Metadata is not supported by the message type +
Metadata is not valid for message type with optional reason +
resource message[method]message.set-content-type: funcSet the content-type describing the format of the data in the message. This is -sometimes described as the "format" type
+sometimes described as the "format" type. +Error is returned if content-type is not supported by the message type.self: borrow<message>content-type: string[method]message.data: funcAn opaque blob of data
metadata>[method]message.add-metadata: funcAdd a new key-value pair to the metadata, overwriting any existing value for the same key
+Add a new key-value pair to the metadata, overwriting any existing value for the same key. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
self: borrow<message>key: stringvalue: stringmetadata-error>[method]message.set-metadata: funcSet the metadata
+Set the metadata. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
metadata-error>[method]message.remove-metadata: funcRemove a key-value pair from the metadata
producer interface for sending messages.
A catch all for other types of errors +
variant metadata-errorErrors that can occur when adding metadata to a message
+Metadata is not supported by the message type +
Metadata is not valid for message type with optional reason +
resource message[method]message.set-content-type: funcSet the content-type describing the format of the data in the message. This is -sometimes described as the "format" type
+sometimes described as the "format" type. +Error is returned if content-type is not supported by the message type.self: borrow<message>content-type: string[method]message.data: funcAn opaque blob of data
metadata>[method]message.add-metadata: funcAdd a new key-value pair to the metadata, overwriting any existing value for the same key
+Add a new key-value pair to the metadata, overwriting any existing value for the same key. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
self: borrow<message>key: stringvalue: stringmetadata-error>[method]message.set-metadata: funcSet the metadata
+Set the metadata. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
metadata-error>[method]message.remove-metadata: funcRemove a key-value pair from the metadata
A catch all for other types of errors +
variant metadata-errorErrors that can occur when adding metadata to a message
+Metadata is not supported by the message type +
Metadata is not valid for message type with optional reason +
resource message[method]message.set-content-type: funcSet the content-type describing the format of the data in the message. This is -sometimes described as the "format" type
+sometimes described as the "format" type. +Error is returned if content-type is not supported by the message type.self: borrow<message>content-type: string[method]message.data: funcAn opaque blob of data
metadata>[method]message.add-metadata: funcAdd a new key-value pair to the metadata, overwriting any existing value for the same key
+Add a new key-value pair to the metadata, overwriting any existing value for the same key. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
self: borrow<message>key: stringvalue: stringmetadata-error>[method]message.set-metadata: funcSet the metadata
+Set the metadata. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
metadata-error>[method]message.remove-metadata: funcRemove a key-value pair from the metadata
A catch all for other types of errors +
variant metadata-errorErrors that can occur when adding metadata to a message
+Metadata is not supported by the message type +
Metadata is not valid for message type with optional reason +
resource message[method]message.set-content-type: funcSet the content-type describing the format of the data in the message. This is -sometimes described as the "format" type
+sometimes described as the "format" type. +Error is returned if content-type is not supported by the message type.self: borrow<message>content-type: string[method]message.data: funcAn opaque blob of data
metadata>[method]message.add-metadata: funcAdd a new key-value pair to the metadata, overwriting any existing value for the same key
+Add a new key-value pair to the metadata, overwriting any existing value for the same key. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
self: borrow<message>key: stringvalue: stringmetadata-error>[method]message.set-metadata: funcSet the metadata
+Set the metadata. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
metadata-error>[method]message.remove-metadata: funcRemove a key-value pair from the metadata