FSharpPlus


TryWith Type

Static members

Static member Description

TryWith.Invoke(source) (f)

Full Usage: TryWith.Invoke(source) (f)

Parameters:
    source : ^Monad<'T>
    f : exn -> ^Monad<'T>

Returns: ^Monad<'T>
Modifiers: inline
Type parameters: ^Monad<'T>
source : ^Monad<'T>
f : exn -> ^Monad<'T>
Returns: ^Monad<'T>

TryWith.InvokeForStrict(source) (f)

Full Usage: TryWith.InvokeForStrict(source) (f)

Parameters:
    source : unit -> ^Monad<'T>
    f : exn -> ^Monad<'T>

Returns: ^Monad<'T>
Modifiers: inline
Type parameters: ^Monad<'T>
source : unit -> ^Monad<'T>
f : exn -> ^Monad<'T>
Returns: ^Monad<'T>

TryWith.InvokeForWhile(source) (f)

Full Usage: TryWith.InvokeForWhile(source) (f)

Parameters:
    source : ^Monad<'T>
    f : exn -> ^Monad<'T>

Returns: ^Monad<'T>
Modifiers: inline
Type parameters: ^Monad<'T>
source : ^Monad<'T>
f : exn -> ^Monad<'T>
Returns: ^Monad<'T>

TryWith.TryWith(computation, catchHandler, arg3, arg4)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3, arg4)

Parameters:
    computation : unit -> Lazy<'a>
    catchHandler : exn -> Lazy<'a>
    arg2 : TryWith
    arg3 : 'b

Returns: Lazy<'a>
computation : unit -> Lazy<'a>
catchHandler : exn -> Lazy<'a>
arg2 : TryWith
arg3 : 'b
Returns: Lazy<'a>

TryWith.TryWith(computation, catchHandler, arg3, True)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3, True)

Parameters:
Returns: Task<'a>
computation : unit -> Task<'a>
catchHandler : exn -> Task<'a>
arg2 : TryWith
True : True
Returns: Task<'a>

TryWith.TryWith(computation, catchHandler, arg3, arg4)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3, arg4)

Parameters:
    computation : unit -> Async<'a>
    catchHandler : exn -> Async<'a>
    arg2 : TryWith
    arg3 : 'b

Returns: Async<'a>
computation : unit -> Async<'a>
catchHandler : exn -> Async<'a>
arg2 : TryWith
arg3 : 'b
Returns: Async<'a>

TryWith.TryWith(computation, catchHandler, arg3, arg4)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3, arg4)

Parameters:
    computation : unit -> 'R -> 'a
    catchHandler : exn -> 'R -> 'a
    arg2 : Default2
    arg3 : 'b

Returns: 'R -> 'a
computation : unit -> 'R -> 'a
catchHandler : exn -> 'R -> 'a
arg2 : Default2
arg3 : 'b
Returns: 'R -> 'a

TryWith.TryWith(computation, catchHandler, arg3, arg4)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3, arg4)

Parameters:
Returns: NonEmptySeq<'a>
computation : unit -> NonEmptySeq<'a>
catchHandler : exn -> NonEmptySeq<'a>
arg2 : Default2
arg3 : 'b
Returns: NonEmptySeq<'a>

TryWith.TryWith(computation, catchHandler, arg3, arg4)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3, arg4)

Parameters:
    computation : unit -> 'a seq
    catchHandler : exn -> 'a seq
    arg2 : Default2
    arg3 : 'b

Returns: 'a seq
computation : unit -> 'a seq
catchHandler : exn -> 'a seq
arg2 : Default2
arg3 : 'b
Returns: 'a seq

TryWith.TryWith(arg1, arg2, arg3, arg4)

Full Usage: TryWith.TryWith(arg1, arg2, arg3, arg4)

Parameters:
    arg0 : unit -> ^t
    arg1 : exn -> ^t
    arg2 : Default1
    arg3 : 'a

Modifiers: inline
arg0 : unit -> ^t
arg1 : exn -> ^t
arg2 : Default1
arg3 : 'a

TryWith.TryWith(computation, catchHandler, arg3, arg4)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3, arg4)

Parameters:
    computation : unit -> ^Monad<'T>
    catchHandler : exn -> ^Monad<'T>
    arg2 : Default1
    arg3 : 'b

Returns: ^Monad<'T>
Modifiers: inline
computation : unit -> ^Monad<'T>
catchHandler : exn -> ^Monad<'T>
arg2 : Default1
arg3 : 'b
Returns: ^Monad<'T>

TryWith.TryWith(computation, catchHandler, arg3, _defaults)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3, _defaults)

Parameters:
    computation : unit -> 'Monad<'T>
    catchHandler : exn -> 'Monad<'T>
    arg2 : Default3
    _defaults : True

Returns: 'Monad<'T>
computation : unit -> 'Monad<'T>
catchHandler : exn -> 'Monad<'T>
arg2 : Default3
_defaults : True
Returns: 'Monad<'T>

TryWith.TryWith(computation, catchHandler, arg3, _defaults)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3, _defaults)

Parameters:
    computation : unit -> 'Monad<'T>
    catchHandler : exn -> 'Monad<'T>
    arg2 : Default4
    _defaults : True

Returns: 'Monad<'T>
computation : unit -> 'Monad<'T>
catchHandler : exn -> 'Monad<'T>
arg2 : Default4
_defaults : True
Returns: 'Monad<'T>

TryWith.TryWith(arg1, arg2, arg3, _defaults)

Full Usage: TryWith.TryWith(arg1, arg2, arg3, _defaults)

Parameters:
    arg0 : unit -> 'Monad<'T>
    arg1 : exn -> 'Monad<'T>
    arg2 : Default3
    _defaults : False

Returns: 'a
arg0 : unit -> 'Monad<'T>
arg1 : exn -> 'Monad<'T>
arg2 : Default3
_defaults : False
Returns: 'a

TryWith.TryWith(arg1, arg2, arg3, _defaults)

Full Usage: TryWith.TryWith(arg1, arg2, arg3, _defaults)

Parameters:
    arg0 : unit -> 'Monad<'T>
    arg1 : exn -> 'Monad<'T>
    arg2 : Default4
    _defaults : False

Returns: 'a
arg0 : unit -> 'Monad<'T>
arg1 : exn -> 'Monad<'T>
arg2 : Default4
_defaults : False
Returns: 'a

TryWith.TryWith(arg1, arg2, arg3, _defaults)

Full Usage: TryWith.TryWith(arg1, arg2, arg3, _defaults)

Parameters:
    arg0 : unit -> 'Monad<'T>
    arg1 : exn -> 'Monad<'T>
    arg2 : Default3
    _defaults : While

Returns: 'a
arg0 : unit -> 'Monad<'T>
arg1 : exn -> 'Monad<'T>
arg2 : Default3
_defaults : While
Returns: 'a

TryWith.TryWith(arg1, arg2, arg3, _defaults)

Full Usage: TryWith.TryWith(arg1, arg2, arg3, _defaults)

Parameters:
    arg0 : unit -> 'Monad<'T>
    arg1 : exn -> 'Monad<'T>
    arg2 : Default4
    _defaults : While

Returns: 'a
arg0 : unit -> 'Monad<'T>
arg1 : exn -> 'Monad<'T>
arg2 : Default4
_defaults : While
Returns: 'a

TryWith.TryWith(computation, catchHandler, arg3)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3)

Parameters:
Returns: Lazy<'a>
computation : Lazy<'a>
catchHandler : exn -> Lazy<'a>
arg2 : TryWith
Returns: Lazy<'a>

TryWith.TryWith(computation, catchHandler, arg3)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3)

Parameters:
Returns: Async<'a>
computation : Async<'a>
catchHandler : exn -> Async<'a>
arg2 : TryWith
Returns: Async<'a>

TryWith.TryWith(computation, catchHandler, arg3)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3)

Parameters:
    computation : 'R -> 'a
    catchHandler : exn -> 'R -> 'a
    arg2 : Default2

Returns: 'R -> 'a
computation : 'R -> 'a
catchHandler : exn -> 'R -> 'a
arg2 : Default2
Returns: 'R -> 'a

TryWith.TryWith(computation, catchHandler, arg3)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3)

Parameters:
    computation : 'a seq
    catchHandler : exn -> 'a seq
    arg2 : Default2

Returns: 'a seq
computation : 'a seq
catchHandler : exn -> 'a seq
arg2 : Default2
Returns: 'a seq

TryWith.TryWith(computation, catchHandler, arg3)

Full Usage: TryWith.TryWith(computation, catchHandler, arg3)

Parameters:
    computation : 'Monad<'T>
    catchHandler : exn -> 'Monad<'T>
    arg2 : Default3

Returns: 'Monad<'T>
computation : 'Monad<'T>
catchHandler : exn -> 'Monad<'T>
arg2 : Default3
Returns: 'Monad<'T>