ConfigError

io.github.srs.config.ConfigError

An enumeration of possible configuration errors that can occur during the decoding of configuration values.

Attributes

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

Members list

Type members

Enum entries

final case class InvalidType(field: String, expected: String)

Represents an error where a value is of an invalid type.

Represents an error where a value is of an invalid type.

Value parameters

expected

a description of the expected type

field

the name of the field with the invalid type

Attributes

final case class MissingField(field: String)

Represents an error where a required field is missing in the configuration.

Represents an error where a required field is missing in the configuration.

Value parameters

field

the name of the missing field

Attributes

final case class ParsingError(message: String)

Represents an error that occurs during parsing of the configuration.

Represents an error that occurs during parsing of the configuration.

Value parameters

message

a message describing the parsing error

Attributes