requireEqualTo, but with a parameter order that fits normal function application better than piping.
requireEqual, but with a parameter order that fits piping better than normal function application.
setErrorsince you're not losing any information.
defaultValuefor a result where the Ok value is unit. The name describes better what is actually happening in this case.