WrongType

pureconfig.error.WrongType
final case class WrongType(foundType: ConfigValueType, expectedTypes: Set[ConfigValueType]) extends FailureReason

A failure reason given when a ConfigValue has the wrong type.

Value parameters

expectedTypes

the ConfigValueTypes that were expected

foundType

the ConfigValueType that was found

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

A human-readable description of the failure.

A human-readable description of the failure.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product