SerializationError

An error occurred while serializing a TOML value.

Types

Link copied to clipboard
class InvalidString(val sourceValue: String, val invalidChars: Set<Char>) : TomlException.SerializationError

Thrown when attempting to serialize a TOML document containing strings with one or more invalid characters.

Link copied to clipboard
class NotAMap(val sourceValue: Any, val tomlValue: TomlValue) : TomlException.SerializationError

Thrown when attempting to serialize a value which successfully encoded to a non-map TOML value, as all valid TOML documents are maps with zero or more keys.

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

Inheritors

Link copied to clipboard
Link copied to clipboard