final case class UnknownKey(key: String, location: Option[ConfigValueLocation]) extends ConfigReaderFailure with Product with Serializable
A failure representing the presence of an unknown key in a ConfigObject. This error is raised when a key of a ConfigObject is not mapped into a field of a given type, and the allowUnknownKeys property of the ProductHint for the type in question is false.
- key
the unknown key
- location
an optional location of the ConfigValue that raised the failure
- Alphabetic
- By Inheritance
- UnknownKey
- Serializable
- Serializable
- Product
- Equals
- ConfigReaderFailure
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
UnknownKey(key: String, location: Option[ConfigValueLocation])
- key
the unknown key
- location
an optional location of the ConfigValue that raised the failure
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
description: String
A human-readable description of the failure.
A human-readable description of the failure.
- Definition Classes
- UnknownKey → ConfigReaderFailure
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: String
-
val
location: Option[ConfigValueLocation]
- Definition Classes
- UnknownKey → ConfigReaderFailure
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
path: Some[String]
The optional path to the
ConfigValuethat raised the failure.The optional path to the
ConfigValuethat raised the failure.- Definition Classes
- UnknownKey → ConfigReaderFailure
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withImprovedContext(parentKey: String, parentLocation: Option[ConfigValueLocation]): UnknownKey
Improves the context of this failure with the key to the parent node and its optional location.
Improves the context of this failure with the key to the parent node and its optional location.
- Definition Classes
- UnknownKey → ConfigReaderFailure