From cb5951794d8831d297d5c6b2ee782bf64f05955a Mon Sep 17 00:00:00 2001 From: luxick Date: Thu, 2 Jul 2020 18:11:06 +0200 Subject: [PATCH] Update docs --- doc/op.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/op.html b/doc/op.html index 12598a3..47c3d2c 100644 --- a/doc/op.html +++ b/doc/op.html @@ -120,6 +120,8 @@ function main() { title="fail(op: OP; msg: string): OP">failOP
  • failOP
  • +
  • failOP
  • @@ -195,6 +197,13 @@ Will create a new operation result with the given error message. The type for th assert res.isOk == false assert res.error == "Something is wrong!" + + +
    proc fail(T: typedesc; msg: string): OP[T]
    +
    + +Alias for fail[T](string) proc +
    @@ -206,7 +215,7 @@ Will create a new operation result with the given error message. The type for th