Packages

package other

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. other
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait MyEnum[T] extends AnyRef

    Enumeration with support for free properties and values

    Enumeration with support for free properties and values

    T

    Type contained in the enum

Value Members

  1. def mapEitherToDecodeResult[L, R](input: Either[DecodingFailure, Either[L, R]]): Either[DecodingFailure, R]

    Given a decoding operation whose result may contain an error, map the erroring result to a DecodingFailure containing it as message If a native decoding failure occurred, leave it as is, else if an error occurred return it as a decoding failure , else return the value

    Given a decoding operation whose result may contain an error, map the erroring result to a DecodingFailure containing it as message If a native decoding failure occurred, leave it as is, else if an error occurred return it as a decoding failure , else return the value

    L

    Left type of input either

    R

    Right type of input Either

    input

    Either resulting of a Circe decode operation

    returns

    A Decoder.Result containing a Decoding failure or an item of type R

    Note

    This method fulfills a specific goal for this app, mainly