From 6c99e3ecc298ca2f3730cb3ee113e1ef8308c163 Mon Sep 17 00:00:00 2001 From: Robin <610753+Stolas@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:53:52 +0100 Subject: [PATCH] Update checkaction.md --- website/docs/checkaction.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/website/docs/checkaction.md b/website/docs/checkaction.md index 98f649e7e2..e99d52b305 100644 --- a/website/docs/checkaction.md +++ b/website/docs/checkaction.md @@ -1,4 +1,5 @@ -checkaction - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request. +checkaction - What should happend when an assertion fails (D Lang) + ```lua checkaction (value) @@ -9,10 +10,12 @@ checkaction (value) `value` is one of: * `Default`: needs documentation -* `D`: needs documentation -* `C`: needs documentation -* `Halt`: needs documentation -* `Context`: needs documentation +* `D`: call D assert on failure +* `C`: call C assert on failure +* `Halt`: cause program halt on failure +* `Context`: call D assert with the error context on failure + +See https://dlang.org/library/dmd/globals/checkaction.html ## Applies To ###