From 4a7cdd6da2a3ec9554aafcb792f02df26bec061a Mon Sep 17 00:00:00 2001 From: Yuriy Vorobyov Date: Wed, 4 Jan 2023 17:48:48 +0300 Subject: [PATCH] Add content for AssertionErrors (#3090) * Update Node.js roadmap Assertion Errors Updated Assertion Errors block with some useful links and description * Update content/roadmaps/107-nodejs/content/103-nodejs-error-handling/103-error-types/103-assertion-errors.md Co-authored-by: Kamran Ahmed --- .../103-error-types/103-assertion-errors.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/107-nodejs/content/103-nodejs-error-handling/103-error-types/103-assertion-errors.md b/content/roadmaps/107-nodejs/content/103-nodejs-error-handling/103-error-types/103-assertion-errors.md index 75f461b4d..eb1e08004 100644 --- a/content/roadmaps/107-nodejs/content/103-nodejs-error-handling/103-error-types/103-assertion-errors.md +++ b/content/roadmaps/107-nodejs/content/103-nodejs-error-handling/103-error-types/103-assertion-errors.md @@ -1 +1,7 @@ -# Assertion errors \ No newline at end of file +# Assertion Errors + +An `AssertionError` in Node.js is an error that is thrown when the `assert` module determines that a given expression is not truthy. The `assert` module is a built-in Node.js module that provides a simple set of assertion tests that can be used to test the behavior of your code. + +Free Content +Node.js Assert +Node.js Error Handling - AssertionError