Validation Error Reason
Errors interacting with DittoSmallPeerInfo.
Constructors
Types
Link copied to clipboard
data class Base64Invalid(val message: String) : DittoError.ValidationErrorReason
Content copied to clipboard
Invalid base64-encoded string:
Link copied to clipboard
If the amount of JSON data is too nested according to our self-imposed limits, or if the data cannot be parsed to determine the depth.
Link copied to clipboard
The observability subsystem is unavailable. (should never be the case for the small peer).
Link copied to clipboard
data class InvalidCbor(val message: String) : DittoError.ValidationErrorReason
Content copied to clipboard
Expected valid CBOR.
Link copied to clipboard
data class InvalidJson(val message: String) : DittoError.ValidationErrorReason
Content copied to clipboard
Expected valid JSON.
Link copied to clipboard
data class MissingKey(val keyName: String) : DittoError.ValidationErrorReason
Content copied to clipboard
The given Map was missing a required entry for the given key name.
Link copied to clipboard
The value provided was not a Map.
Link copied to clipboard
data class NotJsonCompatible(val message: String) : DittoError.ValidationErrorReason
Content copied to clipboard
Link copied to clipboard
The size of the provided metadata is too large.
Link copied to clipboard
data class UnknownSyncScope(val message: String) : DittoError.ValidationErrorReason
Content copied to clipboard
The provided DittoSmallPeerInfoSyncScope_t
value didn't correspond with any known enum cases.