Package

pureconfig.generic

error

Permalink

package error

Visibility
  1. Public
  2. All

Type Members

  1. final case class CoproductHintException(failure: FailureReason) extends RuntimeException with Product with Serializable

    Permalink

    An exception to be thrown on operations inside CoproductHints.

    An exception to be thrown on operations inside CoproductHints.

    failure

    the reason for the exception

  2. final case class InvalidCoproductOption(option: String) extends FailureReason with Product with Serializable

    Permalink

    A failure reason given when a provided coproduct option is invalid.

    A failure reason given when a provided coproduct option is invalid. This likely signals a bug in a CoproductHint implementation, since the provided option isn't a valid one for the CoproductHint's type.

    option

    the coproduct option that is invalid

  3. final case class NoValidCoproductOptionFound(value: ConfigValue, optionFailures: Seq[(String, ConfigReaderFailures)]) extends FailureReason with Product with Serializable

    Permalink

    A failure reason given when a valid option for a coproduct cannot be found.

    A failure reason given when a valid option for a coproduct cannot be found.

    value

    the ConfigValue that was unable to be mapped to a coproduct option

    optionFailures

    the failures produced when attempting to read coproduct options

  4. final case class UnexpectedValueForFieldCoproductHint(value: ConfigValue) extends FailureReason with Product with Serializable

    Permalink

    A failure reason given when an unknown value was found in the discriminating field of a config value, when using a FieldCoproductHint.

    A failure reason given when an unknown value was found in the discriminating field of a config value, when using a FieldCoproductHint.

    value

    the value found in the discriminating field of a config value

Ungrouped