pub enum ServiceError {
Show 13 variants
TimestampSkew,
MissingFencingToken,
FencingTokenSkew,
FencingTokenLowerVersion,
KeyQuotaExceeded,
SyntaxError,
NotAuthorized,
UnknownCommand,
WrongNumberOfArguments,
TimestampMissing,
TimestampMalformed,
KeyLengthZero,
Unknown(String),
}
Expand description
Represents the errors that occur in the Azure IoT Operations State Store Service.
Variants§
TimestampSkew
the request timestamp is too far in the future; ensure that the client and broker system clocks are synchronized.
MissingFencingToken
A fencing token is required for this request. This happens if a key has been marked with a fencing token, but the client doesn’t specify it
FencingTokenSkew
the request fencing token timestamp is too far in the future; ensure that the client and broker system clocks are synchronized.
FencingTokenLowerVersion
The request fencing token is a lower version than the fencing token protecting the resource.
KeyQuotaExceeded
The state store has a quota of how many keys it can store, which is based on the memory profile of the MQ broker that’s specified.
SyntaxError
The payload sent does not conform to state store’s definition.
NotAuthorized
The client is not authorized to perform the operation.
UnknownCommand
The command sent is not recognized by the state store.
WrongNumberOfArguments
The number of arguments sent in the command is incorrect.
TimestampMissing
The timestamp is missing on the request.
TimestampMalformed
The timestamp or fencing token is malformed.
KeyLengthZero
The key length is zero.
Unknown(String)
An unknown error was received from the State Store Service.