given_Decoder_Policy

io.github.srs.config.yaml.parser.Decoder.given_Decoder_Policy

Attributes

Graph
Supertypes
trait Decoder[Policy]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def decode(field: String, value: Any): ConfigResult[Policy]

Decodes a value from the given field in a configuration map.

Decodes a value from the given field in a configuration map.

Value parameters

field

the name of the field to decode

value

the value to decode

Attributes

Returns

a ConfigResult containing either the decoded value or a sequence of configuration errors