Bt v0.3.1 Bt.Wrapper

Provides some useful functional wrappers

Link to this section Summary

Functions

Return default value if function exits

Return exit code 1 if function exits

Link to this section Functions

Link to this function

with_default_value(f, v)

with_default_value((... -> any()), term()) :: term()

Return default value if function exits

Link to this function

with_exit_code(f)

with_exit_code((... -> any())) :: integer()

Return exit code 1 if function exits