MissingRequired

No source had a value for key, and the field has no default and is not nullable.

Constructors

Link copied to clipboard
constructor(key: String)

Properties

Link copied to clipboard
open override val key: String

The key that failed, as looked up in the source that supplied the value. For a missing key it is the SCREAMING_SNAKE form (or the @Key name). For a failed init check it is the spec's prefix, such as DATABASE for a nested spec, or the class name when there is none.

Link copied to clipboard
open override val message: String

A readable description of the problem, used in ConfigException's message.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String