DecodingError

An error occurred while decoding a TOML value into some other Kotlin type.

Types

Link copied to clipboard

Thrown when attempting to decode a list into a non-list like type for which there is no custom decoder.

Link copied to clipboard

Thrown when attempting to decode a map into a map with an invalid key type.

Link copied to clipboard

Throw when attempting to decode a map into a non-map like type for which there is no custom decoder.

Link copied to clipboard

Thrown when attempting to decode sourceValue into an enum class for which it does not match any of the constructor names.

Link copied to clipboard

Thrown when targetType is a data class with a non-nullable parameter named parameter, but sourceValue does not contain any fields by that name.

Link copied to clipboard
class NoSuchDecoder(val sourceValue: TomlValue, val targetType: KType) : TomlException.DecodingError

Thrown when there is no decoder registered that can convert sourceValue into a Kotlin value of targetType.

Functions

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

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open override val message: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Inheritors

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