pojo/result
Functions
pub fn decoder(
ok_decoder: fn(Dynamic) -> Result(a, List(DecodeError)),
error_decoder: fn(Dynamic) -> Result(b, List(DecodeError)),
) -> fn(Dynamic) -> Result(Result(a, b), List(DecodeError))
pub fn decoder(
ok_decoder: fn(Dynamic) -> Result(a, List(DecodeError)),
error_decoder: fn(Dynamic) -> Result(b, List(DecodeError)),
) -> fn(Dynamic) -> Result(Result(a, b), List(DecodeError))