ConfigLoadException

zio.blocks.config.ConfigLoadException
final class ConfigLoadException(val report: String, val errors: ::[ConfigError]) extends RuntimeException

Exception thrown by Config.loadOrThrow when configuration loading fails.

Carries both the formatted multi-line report shown to users and the original non-empty list of accumulated ConfigErrors for programmatic inspection.

Attributes

Source
Config.scala
Graph
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

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

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

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 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

Concrete fields

val errors: ::[ConfigError]

Attributes

Source
Config.scala
val report: String

Attributes

Source
Config.scala