ValidationErrorReason

sealed class ValidationErrorReason

Errors interacting with small peer info.

Types

Link copied to clipboard
object DepthLimitExceeded : DittoError.ValidationErrorReason

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
object NotAMap : DittoError.ValidationErrorReason

The object provided was not a Map.

Link copied to clipboard
object SizeLimitExceeded : DittoError.ValidationErrorReason

The size of the provided metadata is too large.

Link copied to clipboard
data class UnknownSyncScope(val message: String) : DittoError.ValidationErrorReason

The provided DittoSmallPeerInfoSyncScope_t value didn't correspond with any known enum cases.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard