Define the interface for result
Please use Belt.Result.t instead
Belt.Result.t
type t<'good, 'bad> = Ok('good) | Error('bad)