ext

Functions

pub fn context(
  result: Result(a, Geny(b)),
  context: String,
) -> Result(a, Geny(b))
pub fn debug(result: Result(a, Geny(b))) -> Result(a, Geny(b))
pub fn ensure(
  must must: Bool,
  error error: a,
  otherwise otherwise: fn() -> Result(b, Geny(a)),
) -> Result(b, Geny(a))
pub fn from(result: Result(a, b)) -> Result(a, Geny(b))
pub fn lazy_context(
  result: Result(a, Geny(b)),
  context: fn() -> String,
) -> Result(a, Geny(b))
pub fn to_string(geny: Geny(a)) -> String
pub fn wrap_error(error: a) -> Geny(a)
Search Document