final case class KeyNotFound(key: String, location: Option[ConfigValueLocation]) extends ConfigReaderFailure with Product with Serializable
A failure representing a key missing from a ConfigObject.
- key
the key that is missing
- location
an optional location of the ConfigValue that raised the failure
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- KeyNotFound
- Serializable
- Serializable
- Product
- Equals
- ConfigReaderFailure
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
KeyNotFound(key: String, location: Option[ConfigValueLocation])
- key
the key that is missing
- 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
- KeyNotFound → 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
- KeyNotFound → 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
- KeyNotFound → 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]): KeyNotFound
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
- KeyNotFound → ConfigReaderFailure