View Source error_m (erlandono v3.1.2)

Summary

Types

-type error_m(A) :: ok | {ok, A} | {error, any()}.

Functions

-spec '>>='(error_m(A), fun((A) -> error_m(B))) -> error_m(B).
-spec fail(any()) -> error_m(_A).
-spec return(A) -> error_m(A).