Reason

Types

Link copied to clipboard
data class ExtraField(val name: String) : Reason

The value has a field not reflected in the type.

Link copied to clipboard
data class InexactScale(val expected: Int, val actual: Int) : Reason

The value has a different scale than the type.

Link copied to clipboard
data class MissingField(val name: String) : Reason

The value is missing a field from the type.

Link copied to clipboard
data class OutOfRange(val min: BigInteger, val max: BigInteger) : Reason

The value is out of the range of the type.

Link copied to clipboard
data class TooLong(val maxLen: Long, val actual: Long) : Reason

The value is longer than the maximum length of the type.

Link copied to clipboard
data class UnknownMember(val name: String) : Reason

The value has a member not reflected in the type.

Link copied to clipboard
data class WrongKind(val expected: String, val actual: String) : Reason

The value has a kind differing from the type.