Module Js.Result

Define the interface for result

type t(+'good, +'bad) =
  1. | Ok('good)
  2. | Error('bad)
;
  • deprecated Please use `Belt.Result.t` instead