FSharpPlus


Exception Module

Additional operations on Exception

Functions and values

Function or value Description

Exception.add exn1 exn2

Full Usage: Exception.add exn1 exn2

Parameters:
    exn1 : exn
    exn2 : exn

Returns: AggregateException

Combines exceptions from 2 exceptions into a single AggregateException. Exceptions already present in the first argument won't be added.

exn1 : exn
exn2 : exn
Returns: AggregateException

Exception.rethrow exn

Full Usage: Exception.rethrow exn

Parameters:
    exn : exn

Returns: 'T
Modifiers: inline
Type parameters: 'T

Throws the given exception with its original stacktrace.

exn : exn
Returns: 'T