Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 482 Bytes

File metadata and controls

43 lines (35 loc) · 482 Bytes

Try.jl

Try

Result value manipulation API

Ok
Err
Try.isok
Try.iserr
Try.unwrap
Try.unwrap_err
Try.oktype
Try.errtype
Try.map
Try.transpose

Short-circuit evaluation

@?
Try.@and_return
Try.@return
Try.or_else
Try.and_then
Try.@or
Try.@and
Try.or
Try.and

See also: [Customizing short-circuit evaluation](@ref customize-short-circuit).

Debugging interface (error traces)

Try.enable_errortrace
Try.disable_errortrace