Chessie


TrialBuilder

Namespace: Chessie.ErrorHandling
Parent Module: Trial

Builder type for error handling computation expressions.

Constructors

ConstructorDescription
new()
Signature: unit -> TrialBuilder

CompiledName: .ctor

Instance members

Instance memberDescription
Bind(m, f)
Signature: (m:Result<'?7306,'?7307> * f:('?7306 -> Result<'?7308,'?7307>)) -> Result<'?7308,'?7307>
Type parameters: '?7306, '?7307, '?7308
Combine(a, b)
Signature: (a:Result<'?7315,'?7316> * b:('?7315 -> Result<'?7317,'?7316>)) -> Result<'?7317,'?7316>
Type parameters: '?7315, '?7316, '?7317
Delay(f)
Signature: f:'?7319 -> '?7319
Type parameters: '?7319
For(s, body)
Signature: (s:seq<'?7332> * body:('?7332 -> Result<unit,'?7333>)) -> Result<unit,'?7333>
Type parameters: '?7332, '?7333
Return(x)
Signature: x:'?7310 -> Result<'?7310,'?7311>
Type parameters: '?7310, '?7311
ReturnFrom(x)
Signature: x:'?7313 -> '?7313
Type parameters: '?7313
Run(f)
Signature: (f:(unit -> '?7321)) -> '?7321
Type parameters: '?7321
TryFinally(body, compensation)
Signature: (body:(unit -> '?7325) * compensation:(unit -> unit)) -> '?7325
Type parameters: '?7325
TryWith(body, handler)
Signature: (body:(unit -> '?7323) * handler:(exn -> '?7323)) -> '?7323
Type parameters: '?7323
Using(d, body)
Signature: (d:'?7327 * body:('?7327 -> '?7328)) -> '?7328
Type parameters: '?7327, '?7328
While(guard, body)
Signature: (guard:(unit -> bool) * body:(unit -> Result<unit,'?7330>)) -> Result<unit,'?7330>
Type parameters: '?7330
Zero()
Signature: unit -> Result<unit,'?7304>
Type parameters: '?7304
Fork me on GitHub