InvalidValue

zio.blocks.config.ConfigError.InvalidValue
case class InvalidValue(path: String, value: String, expectedType: String, source: String, cause: Option[Throwable] = ...) extends ConfigParseError

A key was present but its value could not be converted to the expected type.

Value parameters

cause

optional underlying parse exception

expectedType

human-readable name of the expected type

path

dot-separated key path

source

identifier of the source that provided the value

value

the raw string value that failed to parse

Attributes

Source
ConfigError.scala
Graph
Supertypes
trait Product
trait Equals
trait ConfigError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def message: String

Attributes

Source
ConfigError.scala

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
override def fillInStackTrace(): Throwable

Attributes

Definition Classes
NoStackTrace -> Throwable
Inherited from:
NoStackTrace
Source
NoStackTrace.scala

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
override def getMessage: String

Attributes

Definition Classes
Inherited from:
ConfigError
Source
ConfigError.scala

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
def printStackTrace(): Unit

Attributes

Inherited from:
Throwable
def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala
def setStackTrace(x$0: Array[StackTraceElement]): Unit

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable