Reader

zio.blocks.config.Flag.Reader
See theReader companion object
trait Reader[A]

Attributes

Companion
object
Source
FlagReader.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Scalar[A]

Members list

Value members

Abstract methods

def parse(flagName: String, raw: String): Either[ConfigError, A]

Parse a flag value from a string.

Parse a flag value from a string.

Value parameters

flagName

the name of the flag (for error messages)

raw

the raw string value

Attributes

Returns

Either a parsed value or a ConfigError

Source
FlagReader.scala
def typeName: String

Human-readable type name for error messages.

Human-readable type name for error messages.

Attributes

Source
FlagReader.scala