MBrace.Core


ValueOrException

Namespace: MBrace.Core.Internals
Parent Module: Utils

Functions and values

Function or valueDescription
bind f input
Signature: f:('T -> 'S) -> input:ValueOrException<'T> -> ValueOrException<'S>
Type parameters: 'T, 'S
Exception exn
Signature: exn:exn -> ValueOrException<'T>
Type parameters: 'T

Creates a new wrapper for given exception.

protect f t
Signature: f:('T -> 'S) -> t:'T -> ValueOrException<'S>
Type parameters: 'T, 'S

Applies function to given argument, protecting in case of exception.

Value value
Signature: value:'T -> ValueOrException<'T>
Type parameters: 'T

Creates a new wrapper for given value.

Fork me on GitHub