package other
- Alphabetic
- By Inheritance
- other
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- 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